pgsql-virtual_mailbox_domains.cf
author Pascal Volk <neverseen@users.sourceforge.net>
Fri, 22 Aug 2008 03:07:53 +0000
changeset 53 5b50eb306d37
parent 11 7a5bd38c5b98
child 75 af813ede1e19
permissions -rw-r--r--
* 'VirtualMailManager/DomainAlias.py' - Implemented: + DomainAlias.__init__() + DomainAlias._exists() + DomainAlias.save() + DomainAlias.info() + DomainAlias.delete() * 'VirtualMailManager/VirtualMailManager.py' - Updated the following methods to use the DomainAlias class: + VirtualMailManager.domain_alias_add() + VirtualMailManager.domain_alias_delete() - Implemented VirtualMailManager.domain_alias_info() * 'VirtualMailManager/Domain.py' - Deleted methods: + Domain._aliasExists() + Domain.saveAlias() - Deleted module function deleteAlias() * 'vmm' - Replaced some print statements with w_std() function calls This eliminates the ugly UnicodeEncodeErrors if the preferred encoding is 'outdated' (encodings like 'ascii' ;-) ) * 'po/de.po' * 'po/vmm.pot' - updated

# 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 gid FROM postfix_gid WHERE domainname='%s'