From d0ac6ea8e527ca89f5203ff200f070e1b0737119 Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Sat, 4 Jun 2011 14:16:26 +0000 Subject: [PATCH] Updated postfix.cf to be compliant with new model. --- etc/alternc/postfix.cf | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/etc/alternc/postfix.cf b/etc/alternc/postfix.cf index 7abe2257..f924a3e1 100644 --- a/etc/alternc/postfix.cf +++ b/etc/alternc/postfix.cf @@ -23,12 +23,14 @@ smtpd_sasl_local_domain = postfix smtpd_sasl_security_options = noanonymous enable_sasl_authentification = yes broken_sasl_auth_clients = yes -alias_maps = mysql:/etc/postfix/myalias.cf hash:/etc/aliases -virtual_maps = proxy:mysql:/etc/postfix/mydomain.cf +alias_maps = hash:/etc/aliases +alias_database = hash:/etc/aliases +virtual_alias_maps = proxy:mysql:/etc/postfix/myalias.cf +virtual_alias_domains = +virtual_mailbox_domains = proxy:mysql:/etc/postfix/mydomain.cf virtual_mailbox_maps = proxy:mysql:/etc/postfix/myvirtual.cf -virtual_mailbox_base = / -virtual_minimum_uid = 1000 +virtual_mailbox_base = /var/alternc/mail +virtual_minimum_uid = 2000 virtual_gid_maps = proxy:mysql:/etc/postfix/mygid.cf -virtual_uid_maps = static:33 -default_privs = www-data +virtual_uid_maps = proxy:mysql:/etc/postfix/mygid.cf 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