On 7/17/23 11:03, Reindl Harald wrote:
-----------------
for rejecting spoofed envelopes nothing easier than that
you need to have a full list of addresses you receive mail anyways, so
any message with one of those addresses without authentication can be
safely rejected
main.cf smtpd_recipient_restrictions:
check_sender_access proxy:hash:/etc/postfix/spoofing_protection.cf
[root@mail-gw:/etc/postfix]$ head spoofing_protection.cf
yourlocaladdress1 REJECT Sender Spoofed
yourlocaladdress2 REJECT Sender Spoofed
..............
Many thanks. I'll figure out how to do this with sendmail, since that's
what I use (yeah, I'm old).
Thomas