Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 8th August 2012, 23:34
FSNTiger FSNTiger is offline
Junior Member
Join Date: Sep 2011
Posts: 27
Thanks: 0
Thanked 4 Times in 3 Posts
Default ISPConfig Spam Filter

Is there a way to check the status of the spam filter? After some updates completed on the server yesterday (which included ClamAV and some other software) some spam that is in our blacklist seems to be getting through. I am not sure how to fix.

ISPConfig 3
CentOS 6.X

Mail Log Shows:
WARN: all primary virus scanners failed, considering backups

Last edited by FSNTiger; 8th August 2012 at 23:38. Reason: Additional Details
Reply With Quote
Sponsored Links
Old 9th August 2012, 01:07
FSNTiger FSNTiger is offline
Junior Member
Join Date: Sep 2011
Posts: 27
Thanks: 0
Thanked 4 Times in 3 Posts

I tried a couple of things, finally down to forcing ISPConfig to reconfigure all the services. Still at the same point except the error is different:

amavis[28240]: (28240-01) (!)ClamAV-clamd: Can't connect to UNIX socket /var/spool/amavisd/clamd.sock: 2, retrying (2)

So I checked ClamD and its not running, attempts to start it fail with:
ERROR: Can't open /var/log/clamav/clamd.log in append mode (check permissions!).
ERROR: Can't initialize the internal logger

Tried to adjust the permissions for the log file. No luck. Deleted the log.
rm /var/log/clamav/clamd.log
touch /var/log/clamav/clamd.log
chown clamav /var/log/clamav/clamd.log

Then I get error:
LibClamAV Error: cl_cvdhead: Can't read CVD header in /var/clamav/daily.cld
LibClamAV Error: cli_loaddbdir(): error parsing header of /var/clamav/daily.cld
ERROR: Malformed database

Removed the Daily.cld

Then Error:
LibClamAV Warning: **************************************************
LibClamAV Warning: *** The virus database is older than 7 days! ***
LibClamAV Warning: *** Please update it as soon as possible. ***
LibClamAV Warning: **************************************************
LibClamAV Error: cli_cvdverify: Can't read CVD header
LibClamAV Error: Can't load /var/clamav/main.cld: Broken or not a CVD file
ERROR: Broken or not a CVD file

So I delete that one as well. Then run Freshclam to update.

Then start the service, all is well except it still tells me the virus DB is 7 days out of date?
Freshclam completes and says the files are up to date.
Reply With Quote


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
ISPConfig fresh instalation - email tab is empty artur_gib Installation/Configuration 14 28th January 2014 20:02
All files gone after changing quota to 0 spynode General 17 19th January 2012 15:41
Spam Filter Whitelist question binaryrogue General 2 29th July 2010 22:04
Spamfilter policy - question about spam actions prisfeo Installation/Configuration 4 2nd February 2010 17:17
ISPCONFIG Anti-Spam filter not causing problems for user account vestport Server Operation 16 13th August 2008 00:22

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

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