updating postfix configuration for mailman

This commit is contained in:
Steven Mondji-Lerider 2012-10-12 15:56:20 +00:00
parent 4172db00b4
commit 6fd15d10cb
3 changed files with 13 additions and 0 deletions

1
.gitattributes vendored
View File

@ -480,6 +480,7 @@ etc/alternc/templates/postfix/myalias.cf -text
etc/alternc/templates/postfix/mydomain.cf -text
etc/alternc/templates/postfix/mygid.cf -text
etc/alternc/templates/postfix/myquota.cf -text
etc/alternc/templates/postfix/myrelay-domain.cf -text
etc/alternc/templates/postfix/myrelay.cf -text
etc/alternc/templates/postfix/mytransport.cf -text
etc/alternc/templates/postfix/myvirtual.cf -text

View File

@ -41,6 +41,8 @@ virtual_mailbox_base = /var/alternc/mail
virtual_minimum_uid = 2000
virtual_gid_maps = proxy:mysql:/etc/postfix/mygid.cf
virtual_uid_maps = proxy:mysql:/etc/postfix/mygid.cf
relay_recipient_maps = $virtual_alias_maps
relay_domains = proxy:mysql:/etc/postfix/myrelay-domain.cf
transport_maps = proxy:mysql:/etc/postfix/mytransport.cf
dovecot_destination_recipient_limit = 1
mailman_destination_recipient_limit = 1

View File

@ -0,0 +1,10 @@
#
# %%warning_message%%
#
user = %%db_mail_user%%
password = %%db_mail_pwd%%
hosts =%%dbhost%%
dbname = %%dbname%%
query = select name from mailman where domain = '%d'