[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: home server for email box



Le 10 mars 2023 Jeremy Ardley a écrit :

> |postconf mail_version mail_version = 3.5.17 |
> But with a 'long matured' main.cf

Proof of quality for postfix on debian :)

> smtpd_helo_restrictions =
>    permit_mynetworks
>    permit_sasl_authenticated
>    reject_invalid_helo_hostname
>    reject_non_fqdn_helo_hostname
>    reject_unknown_helo_hostname
>
> Is it requred to remove the reject_invalid_hostname and reject_non_fqdn_hostname from smtpd_recipient_restrictions ?

Not required, but since you check the same first in helo you don't really
need it during recipient tests if you set :
smtpd_helo_required = yes
else helo can be skipped. And if you dont require helo, restrictions can
easily be bypassed.
https://www.postfix.org/postconf.5.html#smtpd_helo_required
Choose your best way :)


Reply to: