* 'pgsql-virtual_mailbox_domains.cf'
authorPascal Volk <neverseen@users.sourceforge.net>
Sun, 02 Mar 2008 23:15:13 +0000
changeset 11 7a5bd38c5b98
parent 10 8f6e34549c26
child 12 44161dbb1518
* 'pgsql-virtual_mailbox_domains.cf' - added to repo * 'INSTALL' - fixed docu postfix/virtual_mailbox_domains
ChangeLog
INSTALL
pgsql-virtual_mailbox_domains.cf
--- 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 <neverseen@users.sourceforge.net>
+2008-03-03	Pascal Volk  <neverseen@users.sourceforge.net>
+	* pgsql-virtual_mailbox_domains.cf: Added to repository
+	* INSTALL: fixed postfix docu
+
+2008-03-02  Pascal Volk  <neverseen@users.sourceforge.net>
 
 	* create_tables.pgsql: Added view vmm_domain_info
 	* VirtualMailManager/Alias.py: Removed attribute Alias._aid
--- 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
--- /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'