On 2022-01-11 at 02:21:23 UTC-0500 (Tue, 11 Jan 2022 15:21:23 +0800)
JWD <j...@163.com>
is rumored to have said:

There is a website, which sending email use smtp authentication only, can not use anonymous. Postfix is a mail gateway, and I don't want install a smtp authentication backend.

Will permit_mynetworks parameter ignore smtp authentication, and accept the email?

It depends on where you use it.

Postfix has multiple restriction lists, one for each phase of the SMTP transaction. Typically smtp_recipient_restrictions or smtp_relay_restrictions will include 'permit_sasl_authenticated' with 'reject' or 'reject_unauth_destination' later (generally last) in the same list. If you add 'permit_mynetworks' BEFORE a reject directive in the same restriction list, you will let local machines relay mail via SMTP.

NOT requiring authentication for initial message submission can be a great way to guarantee that after spammers find your system, it will be heavily abused until most of the rest of the Internet refuses to accept any mail from it.



--
Bill Cole
b...@scconsult.com or billc...@apache.org
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Not Currently Available For Hire

Reply via email to