Le 03/12/2012 10:07, Stan Hoeppner a écrit :
> You might want to look into these as well:
>
> -o content_filter=
ahem? submission or not, it must go through a malware filter.
> -o smtpd_client_restrictions=
> -o smtpd_helo_restrictions=
> -o smtpd_sender_restrictions=
> -o receive_override_options=no_unknown_recipient_checks,\
> no_address_mappings,no_header_body_checks
>
> These disable restrictions configured elsewhere in the system that
> target public client MTAs. This is a submission service, so you
> probably want to disable many of the existing restrictions, such as
> DNSBL lookups, SpamAssassin, etc, which will cause rejections, or users'
> outbound mail possibly being marked as spam. And obviously server
> processing load increases due to more mail going through SA if you don't
> disable SA for this service.
# cat master.cf
submission inet n - n - - smtpd
-o smtpd_sasl_auth_enable=yes
-o syslog_name=${submission_syslog_name}
-o cleanup_service_name=cleanmsa
-o myhostname=${submission_myhostname}
-o smtpd_tls_security_level=${submission_tls_security_level}
-o smtpd_client_restrictions=${submission_client_restrictions}
-o smtpd_helo_restrictions=${submission_helo_restrictions}
-o smtpd_sender_restrictions=${submission_sender_restrictions}
-o smtpd_recipient_restrictions=${submission_recipient_restrictions}
-o smtpd_relay_restrictions=${submission_relay_restrictions}
-o content_filter=${submission_content_filter}
-o receive_override_options=no_address_mappings
and in main.cf, adjust all these vars. but don't let a message go
without control.