On 22/05/22 17:42, Jeremy Hansen wrote:
So what am I breaking by not having localhost defined in mynetworks.
I tested typical mail and it still delivers…. Hmm.
Hi Jeremy.
Removing localhost from mynetworks means that if any local process sent
emails through this MTA using SMTP to 127.x.x.x, they would be subject
to the checks listed after permit_mynetworks:
smtpd_relay_restrictions = ${{$compatibility_level} < {1} ? {} :
{permit_mynetworks,*permit_sasl_authenticated, defer_unauth_destination*}}
smtpd_recipient_restrictions = permit_mynetworks*reject_unauth_destination ${djigzo_rbl_clients}
${djigzo_reject_unverified_recipient? reject_unverified_recipient}*
Which would appear to prevent such a process from sending emails to
external (Internet) recipients?
Nick.