# HG changeset patch # User Pascal Volk # Date 1204499713 0 # Node ID 7a5bd38c5b98269e1434f44563dd8e42710fb690 # Parent 8f6e34549c26b04dfa4d472fe6d3da58457f1a89 * 'pgsql-virtual_mailbox_domains.cf' - added to repo * 'INSTALL' - fixed docu postfix/virtual_mailbox_domains diff -r 8f6e34549c26 -r 7a5bd38c5b98 ChangeLog --- a/ChangeLog Sun Mar 02 22:41:59 2008 +0000 +++ b/ChangeLog Sun Mar 02 23:15:13 2008 +0000 @@ -1,5 +1,9 @@ === 0.0.0 === -2008-03-02 Pascal Volk +2008-03-03 Pascal Volk + * pgsql-virtual_mailbox_domains.cf: Added to repository + * INSTALL: fixed postfix docu + +2008-03-02 Pascal Volk * create_tables.pgsql: Added view vmm_domain_info * VirtualMailManager/Alias.py: Removed attribute Alias._aid diff -r 8f6e34549c26 -r 7a5bd38c5b98 INSTALL --- a/INSTALL Sun Mar 02 22:41:59 2008 +0000 +++ b/INSTALL Sun Mar 02 23:15:13 2008 +0000 @@ -115,7 +115,7 @@ Configuring Postfix's main.cf # virtual domains - virtual_mailbox_domains = pgsql:/etc/postfix/pgsql-transport.cf + virtual_mailbox_domains = pgsql:/etc/postfix/pgsql-virtual_mailbox_domains.cf virtual_alias_maps = pgsql:/etc/postfix/pgsql-virtual_alias_maps.cf transport_maps = pgsql:/etc/postfix/pgsql-transport.cf virtual_minimum_uid = 70000 diff -r 8f6e34549c26 -r 7a5bd38c5b98 pgsql-virtual_mailbox_domains.cf --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pgsql-virtual_mailbox_domains.cf Sun Mar 02 23:15:13 2008 +0000 @@ -0,0 +1,12 @@ +# 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'