Koozali.org: home of the SME Server

Spamassassin auto-delete

Offline bowhuntr

  • *
  • 18
  • +0/-0
Spamassassin auto-delete
« on: November 23, 2004, 03:23:01 PM »
Is there an easy way to set the auto-delete threshold lower than a score of 15 for Spamassassin? I am using the latest from swerts-knudsen on 6.0.1-01. Maybe thats an idea for a future release also. I despise spam and as far as I'm concerned if it scores over a 5 it goes in the garbage.

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
Spamassassin auto-delete
« Reply #1 on: November 24, 2004, 04:57:48 AM »
Check the spamfilter server-manager panel.  You can change the sensitivity to High (5) or very high (2) if you like.

JB
......

Offline bowhuntr

  • *
  • 18
  • +0/-0
Spamassassin auto-delete
« Reply #2 on: November 24, 2004, 06:14:17 AM »
Yes, I have it set to high, but that does not control if its deleted or not. What I'm talking about is the option of Automatic deletion of spam with score above 15 field.  is there a file I could edit to bring that threshold for deletion down from 15?

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
Spamassassin auto-delete
« Reply #3 on: November 24, 2004, 02:34:05 PM »
Yeah, sorry about that.  Here is what I think I know, from some old information.  If you are using SA with clamav, then you can't use procmail, otherwise you could use that to auto delete the files.  I would like to find a solution to this as well.  You may have to spend some time with google and the spamassassin.org site to see if this is possible.  I'll do the same, because like you said, SPAM is SPAM and I would rather not spend the time checking the junkmail folder and having to delete it.

I will try to verify what I said above through some testing.

JB
......

bigbri100

You can try this
« Reply #4 on: November 24, 2004, 05:03:58 PM »
mkdir -p /etc/e-smith/templates-user-custom/.procmailrc

cp /etc/e-smith/templates-user/.procmailrc/30_spamfilter_sort /etc/e-smith/templates-user-custom/.procmailrc

pico /etc/e-smith/templates-user-custom/.procmailrc/30_spamfilter_sort

Modify by removing some of the 15 "\\*"
"leave the "\n" at the end.
$OUT .= "* ^X-Spam-Level: \\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\n";

Save and restart SpamFilter

To see your changes:
If you log into UserPanel as an existing user you can view your .procmailrc file and see your changes.
"give the user permission to view Process Mail in Server Manager"

Offline bowhuntr

  • *
  • 18
  • +0/-0
Spamassassin auto-delete
« Reply #5 on: November 24, 2004, 05:36:17 PM »
Thanks, I'll give that a try!

Offline bowhuntr

  • *
  • 18
  • +0/-0
Spamassassin auto-delete
« Reply #6 on: November 25, 2004, 03:19:00 AM »
The settings took effect. I will keep an eye on it and make sure its deleting mail. Thanks for the help. Now if I could just get some help on my backup2ws problem....  :-(