The Network People Support Forums

Mail::Toaster => Configuration Issues => Topic started by: ToasterNewb24 on January 18, 2006, 11:00:57 AM

Title: Spamassassin not discarding properly
Post by: ToasterNewb24 on January 18, 2006, 11:00:57 AM
Greetings.

It appears that SpamAssassin is not discarding messages according to settings.

I could be missing something, or modifying the wrong things, but this is what I've done :

In /usr/local/etc/toaster_watcher.conf :

filtering_spama_discard_score      = 8         # discard messages with a SA score above this

-----------------------------------------------------------


In /root/.spamassassin/user_prefs

# How many points before a mail is considered spam.
required_score          6

This is a concern to me as in my test messages, I get :

Content analysis details:   (9.3 points, 5.0 required)

This tells me that the required score is still understood as 5 and not 6.

I've sent test emails that have scored 9+ that are being sent through as attachments as possible spam instead of discarding altogether.

Is there anything additional I may need to do?  Any other settings that need to be altered?

Please help!  Thank you.
Title: Re: Spamassassin not discarding properly
Post by: ToasterNewb24 on January 20, 2006, 03:46:02 PM
Guess it would help if I were looking at the local.cf instead of the user_prefs
Title: Re: Spamassassin not discarding properly
Post by: ToasterNewb24 on January 20, 2006, 05:51:57 PM
I'm still quite irked.  

Everything seems to be running fine, minus the fact that I cannot get this thing to discard messages with a score of 9 :

From /Mail-Toaster-4.08/toaster-watcher.conf

filtering_method                   = smtp  # smtp | tcpserver  # see docs for details
filtering_spamassassin_method      = site       # site | user | domain
filtering_maildrop_filter_file     = /usr/local/etc/mail/mailfilter
filtering_spama_discard_score      = 9         # discard messages with a SA score above this
filtering_report_spam_spamassassin = 1
filtering_report_spam_pyzor        = 0          # don't enable this with report_spamassassin
filtering_debug                    = 1

It will discard 12 and after.  Everything between 5 and 12 get attached and sent through.

What am I missing?

Please assist.
Title: Re: Spamassassin not discarding properly
Post by: RobG on February 20, 2006, 11:48:27 AM
12 is the default Score before it discards.  I would assume that you are not changing the score in the proper place.  I am working right now to find out where to change that and where to change it so it will only tag the spam for now so I can fine tune the scoring mechanism before going to discard.
Title: Re: Spamassassin not discarding properly
Post by: matt on March 03, 2006, 06:02:52 PM

The part that updates the maildrop filter file with your customized spam discard score is:

toaster_setup.pl -s maildrop