updating postfix configuration for mailman
This commit is contained in:
parent
4172db00b4
commit
6fd15d10cb
|
@ -480,6 +480,7 @@ etc/alternc/templates/postfix/myalias.cf -text
|
||||||
etc/alternc/templates/postfix/mydomain.cf -text
|
etc/alternc/templates/postfix/mydomain.cf -text
|
||||||
etc/alternc/templates/postfix/mygid.cf -text
|
etc/alternc/templates/postfix/mygid.cf -text
|
||||||
etc/alternc/templates/postfix/myquota.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/myrelay.cf -text
|
||||||
etc/alternc/templates/postfix/mytransport.cf -text
|
etc/alternc/templates/postfix/mytransport.cf -text
|
||||||
etc/alternc/templates/postfix/myvirtual.cf -text
|
etc/alternc/templates/postfix/myvirtual.cf -text
|
||||||
|
|
|
@ -41,6 +41,8 @@ virtual_mailbox_base = /var/alternc/mail
|
||||||
virtual_minimum_uid = 2000
|
virtual_minimum_uid = 2000
|
||||||
virtual_gid_maps = proxy:mysql:/etc/postfix/mygid.cf
|
virtual_gid_maps = proxy:mysql:/etc/postfix/mygid.cf
|
||||||
virtual_uid_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
|
transport_maps = proxy:mysql:/etc/postfix/mytransport.cf
|
||||||
dovecot_destination_recipient_limit = 1
|
dovecot_destination_recipient_limit = 1
|
||||||
mailman_destination_recipient_limit = 1
|
mailman_destination_recipient_limit = 1
|
||||||
|
|
|
@ -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'
|
||||||
|
|
Loading…
Reference in New Issue