pgsql-smtpd_sender_login_maps.cf
author Pascal Volk <neverseen@users.sourceforge.net>
Wed, 30 Apr 2008 04:05:13 +0000
changeset 26 668951708f2f
parent 10 8f6e34549c26
child 73 11da3d9298b4
permissions -rw-r--r--
* 'vmm.cfg.5' * 'vmm.1' - Reworded some parts. * 'vmm' - Added function _getOrder() for a (hopefully) better structured output from the domaininfo, userinfo and getuser subcommands.

# The hosts that Postfix will try to connect to
hosts = host1.some.domain host2.some.domain

# The user name and password to log into the pgsql server.
user = postfix
password = some_password

# The database name on the servers.
dbname = mailsys

# Postfix 2.2 and later The SQL query template. See pgsql_table(5).
query = SELECT address FROM postfix_maildir WHERE address='%s'
 UNION SELECT destination FROM postfix_alias WHERE address='%s'