> I've set up amavisd-new, clamav and SA, feeding postfix as a realtime
> scanner, on my FreeBSD 5.2.1-RELEASE-p3 system, from the latest ports.
> Clamscan seems to be working, but not the primary clamd.
>
> This is what I'm seeing, during message receipt:
>
> Mar 27 13:29:28 peter.smxy.org amavisd[46913]: (46913-01) Clam
> Antivirus-clamd: Connecting to socket  /var/run/clamav/clamd
>
> Mar 27 13:29:28 peter.smxy.org amavisd[46913]: (46913-01) Clam
> Antivirus-clamd: Sending CONTSCAN
> /var/amavis/amavis-20040327T132927-46913/parts\n to UNIX socket
> /var/run/clamav/clamd
>
> Mar 27 13:29:28 peter.smxy.org amavisd[46913]: (46913-01) Clam
> Antivirus-clamd result: /var/amavis/amavis-20040327T132927-46913/parts:
> Can't access the file ERROR\n

Forgot to run tell clamd to run as vscan (which amavisd-new runs as).
After changing that, I also had to chown vscan:vscan /var/run/clamd. Works
fine now.

        -ste


-------------------------------------------------------
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=click
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to