Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: cc_skavenger on May 18, 2005, 12:02:14 AM

Title: Spamassassin Automatic deletion of spam setting
Post by: cc_skavenger on May 18, 2005, 12:02:14 AM
Where is the setting for the automatic deletion of spam above 15 located at?  I would like to change this setting to something a little lower, like maybe 10.

Thanks
Title: Spamassassin Automatic deletion of spam setting
Post by: Franco on May 18, 2005, 12:22:10 AM
The latest one from Knudsen will give you that on the anti-spam panel.
Title: Spamassassin Automatic deletion of spam setting
Post by: cc_skavenger on May 18, 2005, 12:35:10 AM
I have this installed and it has an option to turn on auto deletion of spam with a score higher then 15, but I want to turn that score down to 10.

Thanks
Title: Spamassassin Automatic deletion of spam setting
Post by: brianr on May 18, 2005, 03:37:31 PM
You should be careful changing that number - the likelihood of deleting a false positive is very high.


However if you insist, the code to delete the spam email lives in the .procmailrc files for each user, and is created by the template file:

/etc/e-smith/template-user/.procmail/30_spamfilter_sort

To change this you should copy it into (creating the directory if necessary):

/etc/e-smith/template-user-custom/.procmail/30_spamfilter_sort

and then edit the file.

You then need to rebuild all the .procmail files for each user but I am not sure how to do this - perhaps someone who knows can fill in the last stage?
Title: Spamassassin Automatic deletion of spam setting
Post by: cc_skavenger on May 18, 2005, 04:08:13 PM
Thanks Brianr.

Yeah, I have since decided it would be a bad idea to change it....I am trying to deal with all the virus-spam coming through but I will be dealing with it a different way (and hopefully it will work).

Just a FYI, I believe you would expand the templates by issuing a /sbin/e-smith/expand-template /etc/e-smith/template-user/.procmail/30_spamfilter_sort command followed by the /sbin/e-smith/signal-event email-update command.

Thanks.