Re: Raf >In other words, check_sender_access tests the address >that ended up being stored in the From_ mbox pseudo header: > > From > bounce-91040_html-994996332-142678-514026815-45...@bounce.s11.mc.pd25.com > Fri Jan 20 12:40:11 2023 > >And check_client_access doesn't check any headers at all. >It checks the IP address of the client making the SMTP connection.
Understood. >There is also the $header_checks parameter which lets you match >content in arbitrary headers. See postconf(5) and header_checks(5). Right, I've not used the checks there as I understood it caused a lot of overhead. >There is also spamassassin(1) and rspamd(1) for milter-based content >inspection and spam detection. I'm using amavisd and spamassassin via amavisd. I've considered changing to rspamd for some time but have been reluctant (chicken) LOL. Thank you for the help.