On Monday 08 March 2004 12:45 pm, you wrote:
> At every mail checked amavisd.log has a message:
>
> amavisd[950]: (00950-05) No anti-virus code loaded, skipping this section
> #(numbers, obviously, vary),
>
> even though clamd was started manually, the path to socket name
> (clamd.sock) is identical in amavisd.conf and clamd.conf, both amavisd and
> clamd are ran as amavisd:amavisd, and all the permissions are set correctly
> (I hope...) .
>

First, make sure clamdscan works:
# $CLAMPREFIX/bin/clamdscan /some/file

If not, make it work before coming back to amavis. Check the 
bypass_virus_checks_acl and virus_lovers lines in /etc/amavisd.conf. If you 
commented out the other virus scanners in amavisd.conf, check the syntax 
carefully to ensure, for example, you didn't accidently comment out the 
closing ");". I'm running Postfix, amavisd-new, SA, and Clam on Solaris, and 
had no trouble, maybe it's a Freebsd quirk.

JohnV

> The clamd.log (debugged to the console) looks like:
>
> LibClamAV debug: Unpacking /tmp/74845765092f738c/COPYING
> LibClamAV debug: Unpacking /tmp/74845765092f738c/viruses.db2
> LibClamAV debug: Loading databases from /tmp/74845765092f738c
> LibClamAV debug: Loading /tmp/74845765092f738c/viruses.db2
> LibClamAV debug: set stacksize to 262144
> LibClamAV debug: Stat()ing files in /usr/local/share/clamav
> LibClamAV debug: Stat()ing files in /usr/local/share/clamav
>
> and never adds to the last line - i.e., clamd doesn't take anything from
> amavisd.
>
> I am running Freebsd5.2, clamav-067-1and amavisd-new-20030616-p7.
>
> Thank you.
>
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id70&alloc_id638&op,ick
> _______________________________________________
> Clamav-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/clamav-users


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to