On Thu, Jan 16, 2003 at 12:22:16PM -0600, Mike Kercher wrote:
I have the recipe below in my /etc/procmailrc As you can see, the line
is very long. Can I make the condition wrap to the next line for ease
of editting/viewing?
:0 H
*
^Subject.*(penis|savings|dvd|exciting|bestiality|sex|viagra|nude|money|1
00|Mortgage|Casino|\$| Free |Panty|gamble|deal| Win |Life Insurance|e
weight|improve your|Prize|Happy Father|Million Dollar|vitamin)
{
:0
/dev/null
Sure, there are examples of this in various places. The basic thing is
that whitespace after a backslash-newline will be ignored causing the
line to be "continued". And your recipe could be cleaned up a bit; the
'H' flag is redundant as it's a default.
:0
* ! ^Subject:.*(spam|abuse)
* ^Subject:.*(penis|savings|dvd|exciting|bestiality|sex|viagra|\
nude|money|100|Mortgage|Casino|\$| Free |Panty|gamble|\
deal| Win |Life Insurance|weight|improve your|Prize|\
Happy Father|Million Dollar|vitamin)
/dev/null
I've got similar stuff at http://www.it.ca/software/procmail-spamtrap .
--
Paul Chvostek
<paul(_at_)it(_dot_)ca>
Operations / Abuse / Whatever
it.canada, hosting and development http://www.it.ca/
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail