Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: JanP on March 07, 2008, 08:25:43 PM

Title: Seperate SPAM filter level for different users
Post by: JanP on March 07, 2008, 08:25:43 PM
I have the problem/challenge that the spam filter level has to set at a very low level to ensure that my users "non spam" mails aren't rejected in the spam filter.
This has then the disadvantage that I get a lot of spam on my IMAP account.
I have been forced to set :
Custom spam tagging level/rejection level at :18/19

Can I in some way change these levels only for my own account to  3/4  ?    
Title: Re: Seperate SPAM filter level for different users
Post by: m on March 07, 2008, 09:02:03 PM
You cannot do this on an out of the box SME installation, but with some additional contribs installed.

Install the contribs RPMs smeserver-mailsorting and smeserver-qpsmtpd-spamassassinlevelstars

Set
Custom spam tagging level = 1
Custom spam rejection level = 12
Sort spam into junkmail folder    = Disabled
Modify subject of spam messages = Disabled

Then every user must setup two mailfilter rules in the user-manager, one for deleting and another for moving the mail into the junkmail folder depending on the number of  asterisks (*) in the X-Spam-Level header field.
Title: Re: Seperate SPAM filter level for different users
Post by: JanP on March 07, 2008, 09:49:07 PM
Hi Michael !

I have installed the two RPM's, but I can't get it to work.
After installation I login as one of my testusers and choose the emailsettings in the user panel and changed the spam filter level.

But when checking I found out that the level also has changed in the my own user-panel !!!

What can I have done wrong ???? 
Title: Re: Seperate SPAM filter level for different users
Post by: m on March 07, 2008, 11:34:59 PM
Jan,
you must not delegate the email settings panel to normal users. The users have (with smeserver-mailsorting installed) in the user-manager the panel "Your Settings->Process Mail", where they can define the needed rules by hitting the button "Add new rule"
Title: Re: Seperate SPAM filter level for different users
Post by: stephen noble on March 08, 2008, 12:30:31 PM
I think you also need
smeserver-qpsmtpd-spamassassinlevelstars

and you need to escape the * in the panel/rule

X-Spam-Level: \*\*\*
Title: Re: Seperate SPAM filter level for different users
Post by: JanP on March 08, 2008, 01:04:01 PM
Hi Michael !

Thanks ! It's working great !

Best regards,

Jan
Title: Re: Seperate SPAM filter level for different users
Post by: raem on March 08, 2008, 01:18:02 PM
JanP

Quote
Custom spam tagging level/rejection level at :18/19

Typically you would have
Tag level=4
and
Rejection level=14
or thereabouts, and these values should work reasonably well.

It makes me think you do not have RBL enabled, do you ?
http://wiki.contribs.org/index.php?title=SME_Server:Documentation:Technical_Manual:Booklet#Real-time_Blackhole_List_.28RBL.29

which can be further enhanced using Bayes
http://wiki.contribs.org/index.php?title=SME_Server:Documentation:Technical_Manual:Booklet#The_entire_Sonoracomm_howto_from_Google.27s_text_cache