in message
<Pine(_dot_)LNX(_dot_)4(_dot_)33(_dot_)0203151751400(_dot_)26634-100000(_at_)meitner(_dot_)nacamar(_dot_)net(_dot_)uk>,
wrote Frank Liney thusly...
...
no I tried to switch to an OR based recipe -
:0:
^Subject:.*HIGH YIELD*|\
^Subject:.*Boost your cell phone reception*|\
^Subject:.*Protect Your Privacy*|\
^Subject:.*Amazing Daily Pics*|\
^Subject:.*to financial freedom*|\
^Subject:.*Foreign Currency Trading Report*|\
^Subject:.*Mortgage rates as low as*|\
^Subject:.*Corporate Money Lenders*
spam
This also works.
But when I have several entries in the recipe, ie a few hundred subject
lines, it fails. Mail neither goes to the spam mail box, or to my inbox.
for one thing, you are missing '*' to indicate a condition. 2d, you
can aggregate all the "^Subject:" in one place; 3d, you don't need
ending '*' (actually that could be considered an error).
4th, procmail doesn't care about the case unless 'D' switch is
specified, so you can ignore the case when you write a condition.
5th, consult documentation on procmail & regular expressions.
all that said, try something like...
:0:
* ^Subject:.*(high yield|boost your cell phone|corporate money lenders)
spam
- parv
--
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail