pgsql-virtual_alias_maps.cf
author Pascal Volk <neverseen@users.sourceforge.net>
Mon, 25 Aug 2008 14:49:43 +0000
changeset 65 5506433db9a3
parent 0 bb0aa2102206
child 105 0332b85f55e1
permissions -rw-r--r--
* 'VirtualMailManager/Account.py' - Account.delete() delete also all aliases where the destination address is the same as for this account.

# 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 destination FROM postfix_alias WHERE address='%s'