On 18 Dec 2019, at 18:55, Konstantin Boyandin wrote:
Hello,
I need to possibly reject mail, in case the below is all true
- domain part of From: header and RCPT TO: addresses is the same
- domain part of MAIL FROM: differs from domain part of From: header
Looks like I need to use filtering via check_policy_service;
I don't believe so. I see nothing in the policy protocol documents that
provides access to message headers or body.
This could be done with a Milter such as milter-regex or MIMEDefang.
--
Bill Cole
b...@scconsult.com or billc...@apache.org
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Not For Hire (currently)