Page 1 of 1

Spamass-milter is not rejecting emails

Posted: Wed Sep 27, 2006 5:47 pm
by souperdad
I had configured spamass-milter to reject emails with a spam rating higher that 15 using the following line in the /etc/sysconfig/spamass-milter file:

EXTRA_FLAGS="-r 15"


For some reason it is allowing my to re-write the headers but it's not rejecting the emails. Anyone have any idea why?

Posted: Thu Oct 05, 2006 5:33 pm
by ianare
run this:

Code: Select all

tail -f /var/log/maillog

and watch it for a bit... You should see messages about spamassassin blocking stuff - if the rating is high enough. You may not be getting messages that register at 15 or above.

Otherwise try restarting spamasssassin,spamass-milter, and sendmail. Just for good measure...

One thing I noticed with my install was a panic message saying it could not store the blocked message. I had to

Code: Select all

vi /etc/mail/aliases
and added

Code: Select all

postmaster: spam
where 'spam' is 'spam@mydomain.com' - a special account used solely for spam pickup.
This worked for me, but there are most likely better ways.

Posted: Fri Oct 06, 2006 4:11 pm
by souperdad
--------------------------------------------------
run this:
Code:
tail -f /var/log/maillog

and watch it for a bit... You should see messages about spamassassin blocking stuff - if the rating is high enough. You may not be getting messages that register at 15 or above.

Otherwise try restarting spamasssassin,spamass-milter, and sendmail. Just for good measure...
----------------------------------------------------------
I've done that I can see that spamassassin is marking them but it's not actually blocking them. It does successfully rewrite the headers but I wanted it to block emails with a rating higher than 15. It was working for a while but for some reason, not anymore. I've tried restarting spamasssassin,spamass-milter, and sendmail, I've also gone so far as to reboot the server. All to no avail.