Rob,

Here's a working procmail code snippet for you to work with:

----------------------Begin Recipee---------------------
:0fw
* < 256000
| spamc
                                                                                
# Mails with a score of 9 or higher are almost certainly spam (with
0.05%
# false positives according to rules/STATISTICS.txt). Let's put them in
a
# different mbox. (This one is optional.)
:0
* ^X-Spam-Level: \*\*\*\*\*\*\*\*\*
    /var/spool/mail/almost-certainly-spam
----------------------End Recipee---------------------

Hope this helps!


-Cooper

On Sun, 2004-02-15 at 09:00, Rob Hudson wrote:
> Hello,
> 
> As I get inundated with spam, I'm changing my server settings a little
> so I have less to deal with.  I was getting a couple megabytes of spam
> in my spam folder every 2-3 days.  After reading up on Spamassassin, I'd
> like to do something like the following in procmail:
> 
> Spam score of 10 or more: send to /dev/null
> Spam score of >= 4 and < 10: Drop in my spam folder for analysis
> Spam score of >= 1 and < 4 : Drop in might be spam folder
> 
> I may tweak those numbers as I learn what goes in there.  My idea was to
> discard automatically messages that are definitely spam.  Drop the
> probably spams in a folder for me to look at and also for me to train
> the system further.  And drop might be spams in a separate folder to
> look for possible ham mails.
> 
> Spamassassin actually puts stars in the header:
> X-Spam-Score: ****
> or something like that.
> 
> So I'd have to do something similar to a switch in procmail?
> X-Spam-Score: *
> X-Spam-Score: **
> X-Spam-Score: ***
> .mail/maybespam
> 
> Can procmail do something like this?
> 
> Thanks,
> Rob
> _______________________________________________
> EuG-LUG mailing list
> [EMAIL PROTECTED]
> http://mailman.efn.org/cgi-bin/listinfo/eug-lug
-- 
 --------------------------------------------------------------
 | Cooper Stevenson        | Em:  [EMAIL PROTECTED]            |
 | General Computer        | Ph:  541.924.9434                |
 | "Open For Business"     | Www: http://www.gencom.us        |
 --------------------------------------------------------------

_______________________________________________
EuG-LUG mailing list
[EMAIL PROTECTED]
http://mailman.efn.org/cgi-bin/listinfo/eug-lug

Reply via email to