Koozali.org: home of the SME Server

Spamassassin Automatic deletion of spam setting

cc_skavenger

Spamassassin Automatic deletion of spam setting
« 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

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
Spamassassin Automatic deletion of spam setting
« Reply #1 on: May 18, 2005, 12:22:10 AM »
The latest one from Knudsen will give you that on the anti-spam panel.

cc_skavenger

Spamassassin Automatic deletion of spam setting
« Reply #2 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

Offline brianr

  • *
  • 990
  • +2/-0
Spamassassin Automatic deletion of spam setting
« Reply #3 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?
Brian j Read
(retired, for a second time, still got 2 installations though)
The instrument I am playing is my favourite Melodeon.
.........

cc_skavenger

Spamassassin Automatic deletion of spam setting
« Reply #4 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.