On 2021-11-17 05:08, Ruben Safir wrote:
In /etc/postfix/main.cf:
smtpd_sender_restrictions =
permit_mynetworks
permit_sasl_authenticated
check_sender_access pcre:/etc/postfix/sender-access
permit
I want it to accept email from my local machines and my own servers
permit mynetworks ensure this
rules order is important
it is possible to just apply this in master.cf for port 25, main.cf is
global for all ports, where permit mynetworks is safety net, but imho
its best to just use it in master.cf for port 25 only