On Fri, 17 Oct 2003, Diego Puppin wrote:
> is it possible to add the spamassassin "hits" score to the spam mails,
> so that I can sort my spam box and find the "spammest" emails?
> I would like to have my spam emails tagged as:
> **SPAM** (score) Subject
> so I can sort and find which has 30 hits and which has only 5.5, and
> manage them easier.

If you want to score *all* your mails, so you can easily tell how close
the non-spam mail is getting to your setting, try adding this 
to your /etc/procmailrc:

# First, zap out any old score on mail sent to you.....
:0fw
* ^Subject: (((Fw|Re): )*\[[-0123456789\.]*\] )+\/.*
| formail -I"Subject: $MATCH"
# Now paste in the new score.... 
:0fw
* ^Subject: \/.*
| formail -I"Subject: [$HITS] $MATCH"
}

The downside, of course, is that if you hit 'reply' without 
removing the score from the subject line, the recipient sees that score
(unless they are on your mail server, in which case the 'zapper' above
will trim off the old score).



-------------------------------------------------------
This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo
The Event For Linux Datacenter Solutions & Strategies in The Enterprise 
Linux in the Boardroom; in the Front Office; & in the Server Room 
http://www.enterpriselinuxforum.com
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to