[postfix] Amavis n'existe plus, et on a pas besoin de filtrer via master pour zamok.

* zamok refusera de recevoir des mails ne venant pas d'une ip du vlan adm, via son main.cf
This commit is contained in:
Pierre-Elliott Bécue 2013-08-04 18:55:13 +02:00
parent f8ccee5e65
commit aa8a618417
2 changed files with 4 additions and 40 deletions

View file

@ -164,35 +164,3 @@ if has("news"):
@# only used by postfix-tls
@tlsmgr unix - - n 300 1 tlsmgr
if users:
@# Smtp pour la reception des mails venant des autres MX
@# a verifier que ca vient du vlan adm.
print adm + ":smtp inet n - n - - smtpd"
@ -o content_filter=
@ -o local_recipient_maps=
@ -o smtpd_helo_restrictions=
@ -o smtpd_client_restrictions=
@ -o smtpd_sender_restrictions=
@ -o smtpd_recipient_restrictions=permit_mynetworks,reject
@ -o mynetworks=10.231.136.0/24
if main:
@# Smtp pour la recuperation en local des mails d'amavis
print loc + ":10025 inet n - n - - smtpd"
@ -o content_filter=
@ -o smtpd_delay_reject=no
@ -o smtpd_client_restrictions=permit_mynetworks,reject
@ -o smtpd_helo_restrictions=
@ -o smtpd_sender_restrictions=
@ -o smtpd_recipient_restrictions=permit_mynetworks,reject
@ -o smtpd_data_restrictions=reject_unauth_pipelining
@ -o smtpd_end_of_data_restrictions=
@ -o smtpd_restriction_classes=
@ -o mynetworks=127.0.0.0/8
@ -o smtpd_error_sleep_time=0
@ -o smtpd_soft_error_limit=1001
@ -o smtpd_hard_error_limit=1000
@ -o smtpd_client_connection_count_limit=0
@ -o smtpd_client_connection_rate_limit=0
@ -o receive_override_options=no_header_body_checks,no_unknown_recipient_checks,no_milters
@ -o local_header_rewrite_clients=