Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Mail Server
  • Search

Spamassassin not tagging emails?

Questions regarding the Mail Server
Dovecot, Exim, RoundCube
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
ken
Posts: 15
Joined: Fri Feb 28, 2014 5:20 am

Spamassassin not tagging emails?
  • Quote

Post by ken » Fri Feb 28, 2014 5:56 am

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.
Top

b1tg0d
Posts: 15
Joined: Mon Mar 03, 2014 9:07 pm

Re: Spamassassin not tagging emails?
  • Quote

Post by b1tg0d » Tue Mar 11, 2014 8:01 pm

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.
Top

JQuantum
Posts: 2
Joined: Wed Mar 12, 2014 12:41 pm

Re: Spamassassin not tagging emails?
  • Quote

Post by JQuantum » Wed Mar 12, 2014 12:47 pm

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.
Top


Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “Mail Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password