Re: header_checks for IP & email destination?

2017-12-22 Thread Markus Clardy
If it is supposed to be Source IP and destination address, do you really need to do anything with the headers? What I mean is, if you know the IP, make a restriction that if a mail is being received from a specific IP, then push it onto another restriction class, which then checks the recipient, a

Re: header_checks for IP & email destination?

2017-12-21 Thread Viktor Dukhovni
> On Dec 21, 2017, at 7:54 PM, li...@mypenguin.net.au wrote: > > 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.

header_checks for IP & email destination?

2017-12-21 Thread linux
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