HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   ISPConfig Spam Filter (http://www.howtoforge.com/forums/showthread.php?t=58215)

FSNTiger 8th August 2012 22:34

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

FSNTiger 9th August 2012 00:07

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.


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

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