procmail
[Top] [All Lists]

MATCH with OR

2001-10-24 03:34:28

Heya.

So ... I can't seem to get either of these to work.  Which one is
*supposed* to be right?

:0 fwh:
*       \/(semicustomwebsites|autoremove).com|\
        \/(theslotsaretalkingtome|unbeatabledeals|smarttransact).com|\
        \/(dotinfocentral|NewDomainFactory).com|\
        \/(mailpromopack|postmasterpro|travelcomm|gate|roi1).net|\
        \/domainstop.org
| formail -A "X-spam-match: $MATCH"

or

:0 fwh:
*       \/(semicustomwebsites|autoremove).com|\
        (theslotsaretalkingtome|unbeatabledeals|smarttransact).com|\
        (dotinfocentral|NewDomainFactory).com|\
        (mailpromopack|postmasterpro|travelcomm|gate|roi1).net|\
        domainstop.org
| formail -A "X-spam-match: $MATCH"

Am I breaking things with the whitespace at the beginning of the joined
lines?  Does the match marker apply to the rest of the *physical line*,
or the rest of the *condition*?

Confused.

-- 
  Paul Chvostek                                             
<paul(_at_)it(_dot_)ca>
  Operations / Development / Abuse / Whatever       vox: +1 416 598-0000
  IT Canada                                            http://www.it.ca/

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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