HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   Spam Filter Policy don't seem to work (http://www.howtoforge.com/forums/showthread.php?t=44918)

bmclean 15th April 2010 17:32

Spam Filter Policy don't seem to work
 
I am trying to test the different spam filter policies. When I change a mail user to the Uncensored or Wants All Spam policy, spam email still is being flagged as spam and put in quarantine.

These are the settings that I have configured.

Uncensored Tag-Level

SPAM tag level : 3
SPAM tag2 level: 999
SPAM kill level: 999
SPAM dsn cutoff level: 0
SPAM quarantine cutoff level: 0

I have the same settings for Wants all spam policy.

I'm not sure if I'm missing something with these policies.

Thanks for the help
Brad

till 15th April 2010 21:10

Which linux distribution? What are the amavisd messages in the mail log?

bmclean 15th April 2010 21:32

Quote:

Originally Posted by till (Post 225371)
Which linux distribution? What are the amavisd messages in the mail log?

We're running CentOs 5.3

From the maillog

Apr 15 13:56:20 bhm01ispc amavis[549]: (00549-08) Blocked SPAM, MYNETS LOCAL [10.130.33.8] [64.139.64.241] <sender@domain.com> -> <receiver@ourdomain.com>, quarantine: spam-poNnEfefl-oB.gz, Message-ID: <5872D152E703124C918762411211CED902F70294@cfimail. domain.com>, mail_id: poNnEfefl-oB, Hits: 8.558, size: 11587, 6539 ms
Apr 15 14:06:57 bhm01ispc amavis[549]: (00549-13) Blocked SPAM, [186.87.114.170] [186.87.114.170] <sender@yahoo.com> -> <receiver@domain.net>, quarantine: spam-Z0jOFBiJIIgt.gz, Message-ID: <20100406163012542rjniq@localdomain>, mail_id: Z0jOFBiJIIgt, Hits: 15.157, size: 794, 6921 ms


Thanks for you help.
Brad

till 15th April 2010 21:41

Looks as if your system uses the wrong amavisd.conf file. Centos has a big problem, depending on the repositorys that you use, there are different amavisd packages and one uses /etc/amavisd.conf and the other one /etc/amavisd/amavisd.conf as configuration file. In your case you seem to have installed a package that uses /etc/amavisd/amavisd.conf but ISPConfig expects that the file /etc/amavisd.conf is used. So if you have thes etwo amavisd.conf files on your system, run the commands:

mv /etc/amavisd/amavisd.conf /etc/amavisd/amavisd.conf.bak
cp -pfr /etc/amavisd.conf /etc/amavisd/amavisd.conf

and then restart amavisd.

bmclean 15th April 2010 23:54

Till,

Thanks for help. I did the install using the Perfect Server - CentOs 5.3. You were absolutely correct that there were 2 conf's one in /etc and the other in /etc/amavisd/ When I moved and copied the files I still had no changed. When I looked at the amavisd script it was looking for the conf file in /etc/amavisd.conf I basically went the other way with your instructions and used the original /etc/amavisd/amavisd.conf.bak and put it in /etc/amavisd.conf. This appears to have corrected the problem.

Thanks
Brad


All times are GMT +2. The time now is 20:20.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.