Patrick Proniewski: > Hello, > > What would be the best way to hold an incoming email that match both criteria > From=foo and To=bar? > First I thought about header_checks with something like: > > if /^From:.*foo.*/ > /^To:.*bar.*/ HOLD > endif > > but obviously it can't work as headers are processed 1 by 1. > The final solution will have to match a unique From: and multiple To:, if > that's of any importance. >
http://www.postfwd.org supports conditions on sender and recipient. Wietse