procmail
[Top] [All Lists]

Re: sending spam to /dev/null (viagra autolearn=spam)

2005-07-24 14:56:28
On Sun, 24 Jul 2005, Ruud H.G. van Tol wrote:
Damian Menscher:

 :0:
 * ^X-Spam-Status: Yes
 * autolearn=spam
 /dev/null

No need for locking when delivering to /dev/null.

Yeah, I noticed that just after sending the mail.

You don't specify where "autolearn=spam" comes from, so it will match it
in the Subject too.

You're right.  :(

:0:
* ^X-Spam-Status: Yes
junk


 :0
 * ^X-Spam-Status: Yes\/.*
 {
   :0
   * MATCH ?? autolearn=spam
   /dev/null

   :0:
   junk
 }

Will that work if the autolearn is on a different line than the 
X-Spam-Status: Yes line?  For example, your message came to me as:

X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,DRUGS_ERECTILE,
     SUBJECT_DRUG_GAP_VIA autolearn=no version=3.0.4

Alternative:

 :0   # 8 or more
 * ^X-Spam-Level: \*\*\*\*\*\*\*\*
 /dev/null

 :0:  # 5 or more
 * ^X-Spam-Level: \*\*\*\*\*
 junk

I don't recommend that, as the autolearn requirements are much more 
strict than a simple scoring.  Also, it allows you to ensure you train 
on EVERY message you receive.

Damian Menscher
-- 
-=#| Physics Grad Student & SysAdmin @ U Illinois Urbana-Champaign |#=-
-=#| 488 LLP, 1110 W. Green St, Urbana, IL 61801 Ofc:(217)333-0038 |#=-
-=#| 4602 Beckman, VMIL/MS, Imaging Technology Group:(217)244-3074 |#=-
-=#| <menscher(_at_)uiuc(_dot_)edu> www.uiuc.edu/~menscher/ Fax:(217)333-9819 
|#=-
-=#| The above opinions are not necessarily those of my employers. |#=-

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail