Updating postfix config files to work with mailman ( not yet with virtual domains ).
This commit is contained in:
parent
d29dcbb78d
commit
512848aa65
|
@ -481,6 +481,7 @@ 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.cf -text
|
etc/alternc/templates/postfix/myrelay.cf -text
|
||||||
|
etc/alternc/templates/postfix/mytransport.cf -text
|
||||||
etc/alternc/templates/postfix/myvirtual.cf -text
|
etc/alternc/templates/postfix/myvirtual.cf -text
|
||||||
etc/alternc/templates/postfix/sasl/smtpd.conf -text
|
etc/alternc/templates/postfix/sasl/smtpd.conf -text
|
||||||
etc/alternc/templates/proftpd/modules.conf -text
|
etc/alternc/templates/proftpd/modules.conf -text
|
||||||
|
|
|
@ -41,6 +41,7 @@ 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
|
||||||
virtual_transport = dovecot
|
transport_maps = proxy:mysql:/etc/postfix/mytransport.cf
|
||||||
dovecot_destination_recipient_limit = 1
|
dovecot_destination_recipient_limit = 1
|
||||||
|
mailman_destination_recipient_limit = 1
|
||||||
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_invalid_hostname, reject_non_fqdn_hostname, reject_non_fqdn_sender, reject_rbl_client zen.spamhaus.org, reject_non_fqdn_recipient, reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_unauth_pipelining, reject_unlisted_recipient, reject_unauth_destination
|
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_invalid_hostname, reject_non_fqdn_hostname, reject_non_fqdn_sender, reject_rbl_client zen.spamhaus.org, reject_non_fqdn_recipient, reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_unauth_pipelining, reject_unlisted_recipient, reject_unauth_destination
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
#
|
||||||
|
# %%warning_message%%
|
||||||
|
#
|
||||||
|
|
||||||
|
user = %%db_mail_user%%
|
||||||
|
password = %%db_mail_pwd%%
|
||||||
|
hosts =%%dbhost%%
|
||||||
|
dbname = %%dbname%%
|
||||||
|
|
||||||
|
query = select delivery from mailbox join address on address.id = mailbox.address_id join domaines on domaines.id = address.domain_id where concat(address.address,'@',domaines.domaine) ='%s'
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue