Re: [SLUG] Spamassassin score and evolution

From: Eben King (eben01@verizon.net)
Date: Fri Mar 28 2008 - 13:22:27 EST


On Fri, 28 Mar 2008, Matthew Rogers wrote:

> Larry Brown wrote:
>> Does anyone know of a good way to filter by Spamassassin score in
>> Evolution? For some reason my MailScanner implimentation is marking
>> messages as spam even through their score is less than 6 which is what
>> the config is set to and what the mail header shows to be the limit.
>> I'd rather simply change where the decision is made as to whether it is
>> spam to my client where I can dump if score > 4 etc. The score option
>> in Evolution was determined to be an internal score that Evolution keeps
>> within its filters, not the score set by spamassassin.
>>
>> Anyway, anyone help would be appreciated.

> I use dovecot + sieve filtering to put Spam from spamassasin in my IMAP junk
> folder. Client independent.
>
> require "fileinto";
> if exists "X-Spam-Flag" {
> fileinto "Junk";
> }

On my system, it's (by default) filtered by procmail, using this code in
~/.procmailrc :

# Mails with a score of 5 or higher are almost certainly spam
# Let's put them in a different mbox. (This one is optional.)
:0:
* ^X-Spam-Level: \*\*\*\*\*
almost-certainly-spam

# All mail tagged as spam (eg. with a score higher than the set threshold)
# is moved to "probably-spam".
:0:
* ^X-Spam-Status: Yes
probably-spam

But I commented them out because I prefer to use pine's filters, as I
understand them better. That and I didn't want to have to do surgery to
change it each time I revised the cut-off.

-- 
-eben   QebWenE01R@vTerYizUonI.nOetP   http://royalty.mine.nu:81
               "God does not play dice" -- Einstein
        "Not only does God play dice, he sometimes throws
        them where they can't be seen." -- Stephen Hawking
-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS).  Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 15:27:47 EDT