Hi, 

Running postfix-2.10.1-6.el7.x86_64 on RHEL 7.4.

I've a very unique need to configure Postfix to deliver email based on
source IP and destination email address. 

Example:
-----------------------------------
If:
    Received: by mx0.example2.com AND Delivered-To:
li...@mypenguin.net.au

    Action: Deliver
else: 
    Discard or Redirect (depending on user)
fi
-----------------------------------

Can postfix header_checks do this? Looks like it'll only accept regex
based on a line by line query?
Other research I've done suggests that I could use spamassassin?

Regards,

Craig

Reply via email to