Skip to content
Snippets Groups Projects
Unverified Commit 4dc431b6 authored by Roma's avatar Roma Committed by Rémy Huet
Browse files

Ajout de client restrictions: rejette les clients non authentifiés (SASL)

parent 68509b6d
No related branches found
No related tags found
1 merge request!20pica-mailnt
......@@ -13,8 +13,10 @@ postconf -e "mynetworks = 127.0.0.0/8"
#voir en dessous pour la config sasl
postconf -e "smtpd_recipient_restrictions = permit_sasl_authenticated, reject_unauth_destination"
#désactivation de la blacklist de clients à des fins de debug (elle rejette les clients en local)
postconf -e "smtpd_client_restrictions = "
#rejette les non authentifiés (anonymes)
postconf -e "smtpd_client_restrictions = permit_sasl_authenticated, reject"
postconf -e "smtpd_delay_reject = yes"
#désactivation des restrictions sur le helo
postconf -e "smtpd_helo_restrictions = "
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment