Skip to content
Snippets Groups Projects
Verified Commit fceaec15 authored by Quentin Duchemin's avatar Quentin Duchemin
Browse files

[Mail] Accept any HELO hostname

Because some mail clients as Mailspring won't work otherwise.
parent 6fdacdeb
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
/#!/bin/bash
# postconf permet de modifier /etc/postfix/main.cf
......@@ -51,7 +51,7 @@ postconf -e 'smtpd_recipient_restrictions = reject_unknown_recipient_domain, per
# Rejette les clients qui ne disent pas bonjour, ou qui disent
# bonjour (HELO ou EHLO) avec un nom de domaine non-valide, non pleinement
# qualifié (i.e. "absolu"), ou sans enregistrement DNS A ou MX.
postconf -e "smtpd_helo_restrictions = reject_invalid_helo_hostname, reject_non_fqdn_helo_hostname, reject_unknown_helo_hostname"
postconf -e "smtpd_helo_restrictions = reject_invalid_helo_hostname"
postconf -e "smtpd_helo_required = yes"
# Blacklists basées sur l'adresse du client
......
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