The examples in this text use table lookups from local files
such as DBM or Berkeley DB. These are easy to debug with the
postmap command:
Example: postmap -q [email protected] hash:/etc/postfix/virtual
See the documentation in
LDAP_README,
MYSQL_README and
PGSQL_README
for how to replace local files by databases. The reader is strongly
advised to make the system work with local files before migrating
to network databases, and to use the postmap command to verify
that network database lookups produce the exact same results as
local file lookup.
Example: postmap -q [email protected]
ldap:/etc/postfix/virtual.cf