You could just try:

subject_tag             [SPAM-_HITS_]

In your spamassassin local.cf

Which will give you something like:

[SPAM-5.76] {rest of subject}
[SPAM-13.80] {rest of subject}

Your mail client can then sort on subject and the scores will be in order.


Alan

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tom
Allison
Sent: 09 December 2003 11:28
To: [EMAIL PROTECTED]
Subject: [SAtalk] Subject line consideration


Had a conversation with a rather intelligent user of email who had an 
inciteful question/remark about sorting his spam.

I thought I would pass it along here as it seemed like a potentially 
good idea.  Eventually this turns into a request for a code change.  I 
could do this, but I hate the idea of managing diffs on released code.

Here's what this person is experiencing and would like to do to make 
things easier for himself.  To put it into perspective we are talking 
about a daily volume of ~250 emails per day with no mailing lists 
involved.  That's a lot of mail, but he's a popular guy.

What he is doing today is essentially running spamassassin with 
whitelist support.  He takes all the spam and puts it into a seperate 
folder and sorts through that a few times a day and adds anyone he might 
have missed whitelisting the first time.

But he would like to be able to sort the spam based on spam score in 
ascending order because most of his false-negatives are in the 5-7 point 
range and by the time he would get to 10+ he's pretty much done.

Rather than getting his Exchange supplier to change their code base I 
figured it would be easier to talk to everyone here.

Is it possible to modify the process of putting the "***SPAM***" string 
into the subject line from a static statement to a more dynamic 
statement where you would add characters based on the spam score?

An example might be:
"**SPAM", "*" x ($score)
where $score is based on the the spam score but modifie perhaps like this:
$score = (spam - 5) / 2
This would allow for a slower growth rate ($rate) on the number of "*" 
and keep it short by removing the first five (assuming you have the 
default limit of 5, really '5' should be replaced by the $limit)

$score = ($spam-$limit)/$rate;

I realize that this might be literally three lines of code in the 
codebase of spamassassin and pretty simple to manage.  But I wasn't sure 
about doing this on my own and then managing diffs forever after.

Besides all the code change stuff, is there anything technical that 
seems whacked?



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to