Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 15th April 2010, 18:32
bmclean bmclean is offline
Junior Member
 
Join Date: Apr 2010
Posts: 4
Thanks: 1
Thanked 1 Time in 1 Post
Default 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
Reply With Quote
Sponsored Links
  #2  
Old 15th April 2010, 22:10
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,986
Thanks: 840
Thanked 5,647 Times in 4,457 Posts
Default

Which linux distribution? What are the amavisd messages in the mail log?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
bmclean (15th April 2010)
  #3  
Old 15th April 2010, 22:32
bmclean bmclean is offline
Junior Member
 
Join Date: Apr 2010
Posts: 4
Thanks: 1
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by till View Post
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
Reply With Quote
  #4  
Old 15th April 2010, 22:41
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,986
Thanks: 840
Thanked 5,647 Times in 4,457 Posts
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 16th April 2010, 00:54
bmclean bmclean is offline
Junior Member
 
Join Date: Apr 2010
Posts: 4
Thanks: 1
Thanked 1 Time in 1 Post
 
Default

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
Reply With Quote
The Following User Says Thank You to bmclean For This Useful Post:
till (16th April 2010)
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Spamfilter policy - question about spam actions prisfeo Installation/Configuration 4 2nd February 2010 17:17
Spam Filter not functioning Cracklefish Installation/Configuration 11 3rd June 2009 14:58
how to apply spam filter to forwarded emails on postfix? sluggish_homer Server Operation 3 16th April 2008 23:52
Postfix Spam Filter using Ubuntu Dapper question Evollusion HOWTO-Related Questions 1 19th January 2007 23:39


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


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