procmail
[Top] [All Lists]

Regexp question

1998-02-18 20:51:26
Are the following two conditions...
*$!^(Sender|From|Reply-To):.*$MYISP
*$!^(To|Cc|Bcc):.*$LOGNAME

  when AND'ed, identical to...
*$!^((Sender|From|Reply-To):.*$MYISP)|((To|Cc|Bcc):.*$LOGNAME))

  I'm already running a miscellaneous filter that traps on any
of five 1-liner conditions.  Converting the 2-liner filter to
a 1-liner will allow me to lump it into the miscellaneous
filter, and remove a separate recipe from my procmail.

-- 
Walter Dnes (Toronto)
<waltdnes(_at_)interlog(_dot_)com>

<Prev in Thread] Current Thread [Next in Thread>