procmail
[Top] [All Lists]

Re: How to discard messages with a particular word in the body from a blacklist?

2002-12-09 22:38:19

Why deliver to /dev/null in an embedded recipe?  Why not just make
/dev/null the whole action line of the main recipe?

Incidentally, this is the kind of thing I do as well.  If you want a
whole bunch more, check out http://www.it.ca/software/procmail-spamtrap
.

A better solution may be to install SpamAssassin, which catches just
about everything my recipes catch.

p

On Mon, Dec 09, 2002 at 05:00:08PM -0700, Dave Cook wrote:

mik sib

This is one I use:

##########################################
# a1 - on body: some frequent clues of common spams of late that are not
# in the primary sendmail filters.
:0B
*  (The World's BEST SELLING software suite|\
    LoVideo|\
    Merchant's Paradise|\
    compare rates from top insurance|\
    /termquotes/|\
    club\.tr\.tc|\
    free\-2\-host\.com|\
    hostserve21\.com|\
    aphcorp\.com)
{
  :0
   /dev/null
}


-----Original Message-----
From: procmail-admin(_at_)Lists(_dot_)RWTH-Aachen(_dot_)DE
[mailto:procmail-admin(_at_)Lists(_dot_)RWTH-Aachen(_dot_)DE]On Behalf Of mik 
sib
Sent: Monday, December 09, 2002 10:34 AM
To: procmail(_at_)Lists(_dot_)RWTH-Aachen(_dot_)DE
Subject: How to discard messages with a particular word in the body from
a blacklist?


Can anybody help me writing a recipe to discard
messages as the following?
I'd like a recipe that discards messages that have a
sentence or word matching from a blacklist

thank you


<body>
<p><font color="#0000FF"><A
HREF="http://203.95.1.164/generic_viagra003/";>
Click Here to </font></a><a
href="http://203.95.1.164/generic_viagra003/";>buy
Viagra</a></p><BR><P>
<font
color="white">dgadsjhghdhjgldhghdhlaghsdhghkdlahgdhlksg<br>kghfjhgdlskglkdhg
lkdhlghdalighlihsgalihdlighdslighdsdfkg</font>
</body>

______________________________________________________________________
Per te Blu American Express è gratis!
http://it.yahoo.com/mail_it/foot/?http://www.americanexpress.it/land_yahoo

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




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

-- 
  Paul Chvostek                                             
<paul(_at_)it(_dot_)ca>
  Operations / Abuse / Whatever                          +1 416 598-0000
  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

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