Page 1 of 1
Spamassassin not tagging emails?
Posted: Fri Feb 28, 2014 5:56 am
by ken
SpamAssassin does not appear to be tagging any emails which should definitely be considered spam with the current default settings:
required_hits 5
report_safe 0
rewrite_header Subject [SPAM]
According to the spamassassin manual it says that even 5 is pretty aggressive. I installed this manually per the VestaCP documentation. Anything I might be missing? It's pretty much a default install but I was hoping it'd at least block something out of the box.
Re: Spamassassin not tagging emails?
Posted: Tue Mar 11, 2014 8:01 pm
by b1tg0d
Check to make sure postfix is installed and running. I've had similar issues and found the cause to be postfix wasn't running.
Hope that helps.
Re: Spamassassin not tagging emails?
Posted: Wed Mar 12, 2014 12:47 pm
by JQuantum
b1tg0d wrote:Check to make sure postfix is installed and running. I've had similar issues and found the cause to be postfix wasn't running.
Hope that helps.
Doesn't vestacp uninstall postfix on install?
Hm... only on debian.
Code: Select all
if [ -e /etc/init.d/postfix ]; then
update-rc.d -f postfix remove
service postfix stop
fi
-
http://vestacp.com/pub/vst-install-debian.sh
I'm using centos 6.5 and spamassassin isn't tagging with a recent install (had to manually install spamassassin and clamav - following the docs).
installing postfix didn't do anything as well.
--- EDIT:
So, after testing via ssh with spamassassin. I lowered the report level to 4 because a test spam message it reports it as 4.1. With this setting in ssh spamassassin marks it as [SPAM] in terminal, however, a live email doesn't get filtered at all.
--- EDIT2:
/etc/exim/exim.conf
at the top there's a chunk that says
Code: Select all
##########################################################################
SPAMASSASSIN = yes
SPAM_SCORE = 50
CLAMD = yes
##########################################################################
Maybe exim and spamassassin was configured to ignore the local.cf
I tested with a SPAM_SCORE = 4 and the test mail didn't even show up in my mailbox.
--- EDIT3:
oops... i accidentally got gmail blocked to my server and haven't found where the list is stored. note to self: don't send the gtube test email again. Emails from the server to world is fine though.