author | Pascal Volk <neverseen@users.sourceforge.net> |
Sun, 09 Aug 2009 03:57:15 +0000 | |
changeset 103 | edac75d0b435 |
parent 76 | 14c0a092d7d2 |
child 105 | 0332b85f55e1 |
permissions | -rw-r--r-- |
11
7a5bd38c5b98
* 'pgsql-virtual_mailbox_domains.cf'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
1 |
# The hosts that Postfix will try to connect to |
7a5bd38c5b98
* 'pgsql-virtual_mailbox_domains.cf'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
2 |
hosts = host1.some.domain host2.some.domain |
7a5bd38c5b98
* 'pgsql-virtual_mailbox_domains.cf'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
3 |
|
7a5bd38c5b98
* 'pgsql-virtual_mailbox_domains.cf'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
4 |
# The user name and password to log into the pgsql server. |
7a5bd38c5b98
* 'pgsql-virtual_mailbox_domains.cf'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
5 |
user = postfix |
7a5bd38c5b98
* 'pgsql-virtual_mailbox_domains.cf'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
6 |
password = some_password |
7a5bd38c5b98
* 'pgsql-virtual_mailbox_domains.cf'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
7 |
|
7a5bd38c5b98
* 'pgsql-virtual_mailbox_domains.cf'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
8 |
# The database name on the servers. |
7a5bd38c5b98
* 'pgsql-virtual_mailbox_domains.cf'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
9 |
dbname = mailsys |
7a5bd38c5b98
* 'pgsql-virtual_mailbox_domains.cf'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
10 |
|
7a5bd38c5b98
* 'pgsql-virtual_mailbox_domains.cf'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
11 |
# Postfix 2.2 and later The SQL query template. See pgsql_table(5). |
76
14c0a092d7d2
* 'VirtualMailManager/EmailAddress.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
75
diff
changeset
|
12 |
query = SELECT gid FROM postfix_gid WHERE domainname = '%s' |