Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Neririn on August 11, 2005, 08:50:10 PM
-
Is there any way to set spamassassin to automatically delete emails at a lower score? I for example have not received a legitimate email with a score of 8 or higher. I would like to just blow them away if they are >= 8. Any suggestions?
Thanks!
Neru
-
Is there any way to set spamassassin to automatically delete emails at a lower score? I for example have not received a legitimate email with a score of 8 or higher. I would like to just blow them away if they are >= 8.
In 7.0alpha you can select a Custom Reject Level from the server-manager E-mail panel. Mails which exceed this level will be rejected during the SMTP transaction.
-
Good suggestion for a next release. In the mean time you can fiddle with the template handling this.
Open /etc/e-smith/templates-user/.procmailrc/30_spamfilter_sort and modify the amount of "*" in the line
^X-Spam-Level: \\*\\* .... to match the score from which you want emails autodeleted.
-
don't forget to expand the template.
for everyone: /sbin/e-smith/signal-event spamfilter-init-procmail
for single user: /sbin/e-smith/signal-event user-modprocmail (username)