From: jeff donovan (no email)
Date: Fri May 09 2008 - 13:47:50 EDT
On May 9, 2008, at 11:11 AM, Wietse Venema wrote:
> jeff donovan:
>> can I do this without an if then endif?
>> /^to: *friend at public\.com$ && ^from: */ WARN
> man header_checks
> All supported behavior is documented.
okay did a bunch of reading. and the reoccurring theme is ;
Header (and body) checks process one header (or line, with body
checks) at a time.
So my question is.
is there a better way to reject/bounce/warn when a message from
user1 at domain to user2 at domain shows up?
simliar to this, although I know this wont work.
if /^To:.*postmaster at example\.com/ /^From: user2 at example\.com/ WARN