procmail
[Top] [All Lists]

Re: Recipe B: ?

2004-05-15 17:16:48
On Sun, May 16, 2004 at 09:22:29AM +1000, Marvin R. Pierce wrote:
Will this recipe do what I'm asking it to do, ie, find the phrase and
move to spam folder?

:0 B
* ^(MS Customer|pharmaceutical ordering services|genuine OEM products)
spam/

Probably. You have an anchor in your phrase: "^". This means
(effectively) that the following phrases must match at the beginning
of a line. If you want to match:

MS Customer

your recipe will match. If you want to match:

beloved MS Customer

your recipe will not match because of the anchor (i.e., MS Customer
does not appear at the beginning of the line).

Scott
-- 
Scott Wiersdorf
scott(_at_)perlcode(_dot_)org

_______________________________________________
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>
  • Recipe B: ?, Marvin R. Pierce
    • Re: Recipe B: ?, Scott Wiersdorf <=