Managed to press the wrong button before, I'll forward this to the
list...

/wj
-----Original Message-----
From: Werner Johansson [mailto:[EMAIL PROTECTED] 
Sent: den 31 juli 2003 12:30
To: 'Noah Silverman'
Subject: RE: [courier-users] spamassassin?


Hi,

Well I'm using this as my maildroprc (global), inspired by various
mailfilter scripts because I'm no maildroprc expert myself:

# [EMAIL PROTECTED]
# SpamAssasin client called only if msgsize < 256kB...
if ( $SIZE < 262144 )
{
        exception {
          xfilter "/usr/bin/spamc"
        }
}
if (/^X-Spam-Status: Yes, hits=*!.* !.*/)
{
        if ( $MATCH2 > 10 )
         {
           to "/home/SpamJunk/"
         }
}
if (/^X-Spam-Flag: *YES/)
{
        exception {
          to "$HOME/Maildir/.Spam/"
        }
}


That uses the spamc/spamd combination and sends all emails with really
high probability (>10) to a global spam-basket, the rest (default >5) is
sent to the user's "Spam" folder so they can check if anything got there
by mistake.. This Spam folder has been configured just as the Trash
folder, i.e it deletes mail older than 7 days...

Everything not spam (<5) gets sent to the user's filter file if any, or
just delivered...

/wj


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Noah
Silverman
Sent: den 31 juli 2003 10:22
To: [EMAIL PROTECTED]
Subject: [courier-users] spamassassin?


Anbody figure out how to implement spamassassin easily into courier?

Thanks

-N



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01
/01
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to