Update mail configs (greylisting, minor fixes).

This commit is contained in:
Markus 2016-04-08 07:42:21 +02:00
parent 090fad6a01
commit 838a98f7e3
3 changed files with 7 additions and 11 deletions

View File

@ -143,7 +143,7 @@
- default/spamassassin
- name: Configure certificate manager
template: src=certs.j2 dest=/etc/acme/domains.d/{{ ansible_fqdn }}_mail.conf
template: src=certs.j2 dest=/etc/acme/domains.d/{{ mail_server }}_mail.conf
- name: Configure certificate manager for mailman
template: src=mailman/certs.j2 dest=/etc/acme/domains.d/{{ mailman_domain }}_mailman.conf

View File

@ -58,18 +58,15 @@ smtpd_helo_restrictions = permit_mynetworks
smtpd_recipient_restrictions = permit_mynetworks
permit_sasl_authenticated
reject_unauth_destination
reject_rbl_client sbl.spamhaus.org
reject_rbl_client cbl.abuseat.org
check_recipient_access hash:/etc/postfix/recipient_access
smtpd_data_restrictions = warn_if_reject reject_unauth_pipelining
smtpd_restriction_classes = rbl, rblgrey
smtpd_restriction_classes = greylisting
rbl = reject_rbl_client sbl.spamhaus.org
reject_rbl_client cbl.abuseat.org
rblgrey = reject_rbl_client sbl.spamhaus.org
reject_rbl_client cbl.abuseat.org
check_policy_service unix:private/spfpolicy
greylisting = check_policy_service unix:private/spfpolicy
check_policy_service inet:127.0.0.1:10023
content_filter = amavis:[127.0.0.1]:10024

View File

@ -119,8 +119,7 @@ bsmtp unix - n n - - pipe
scalemail-backend unix - n n - 2 pipe
flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
mailman unix - n n - - pipe
flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
${nexthop} ${user}
flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py ${nexthop} ${user}
# dovecot
dovecot unix - n n - - pipe