[plug] Postfix: reject email based on sender and domain

Alexander Hartner alex at j2anywhere.com
Sun Feb 23 02:51:34 UTC 2014

Hi all,

I am trying to block a list of sunders from sending me email to one of the domains hosted on a server, but not others. Initially I thought about using header_checks and a complex IF condition, however this does not work as the header_check only process a single line and what I am looking for is a rule containing both the FROM and TO headers.

Any other suggestions on how this can be achieved ?

Thanks in advance

More information about the plug mailing list