* Jonathan Engbrecht: > If From: f...@example.com > AND NOT To: (bar|baz|quux)@mydomain.com > DISCARD
Milter-regex (https://www.benzedrine.ch/milter-regex.html) can do this, and more. The actual syntax for your example would be something like this (untested because I am typing from memory): discard header /^From$/ /foo@example\.com/ and not \ header /^To$/ /(bar|baz|quux)@mydomain\.com/ You can also use variables in milter-regex to easily re-use complex expressions. I can heartily recommend it. -Ralph