diff --git a/pica-mail-mta/config.sh b/pica-mail-mta/config.sh index 635a21cd076da22494bb3c95f99dafcfb100c11e..d114f3e899230840aeb04542f42f09d1e76cfb11 100755 --- a/pica-mail-mta/config.sh +++ b/pica-mail-mta/config.sh @@ -46,6 +46,7 @@ postconf -e 'smtpd_recipient_restrictions = reject_unknown_recipient_domain, per #on interdit de faire du helo avec un domaine non fully qualified, sinon c'est trop facile de tenter localhost., mail., pica01. etc. #on interdit les domaines qui n'ont pas de A ou de MX postconf -e "smtpd_helo_restrictions = reject_invalid_helo_hostname, reject_non_fqdn_helo_hostname, reject_unknown_helo_hostname" +postconf -e "smtpd_helo_required = yes" #blacklists basées sur l'adresse du client postconf -e "smtpd_client_restrictions = ${SMTPD_CLIENT_RESTRICTIONS}"