ClamAV can't write to the logs because they don't have the permissions. You
missed this part it looks like:
*The text illustrated above must match the LocalSocket parameter you found
in clamd.conf.*
Edit amavisd.conf to match what you found in clamd.conf if it is different.
This "clamd.ctl" is the file that is shared between the two programs and the
reason we have problems.
Now open up the clamd.conf file again (mine is   /etc/clamav/clamd.conf)
Below is illustrated the items in the file we are interested in:

LocalSocket /var/run/clamav/clamd.ctl
User clamav
LogFile /var/log/clamav/clamav.log
PidFile /var/run/clamav/clamd.pid
DatabaseDirectory /var/lib/clamav/

We need to edit this file and change:
User clamav
*to*
User amavis

On Mon, Sep 22, 2008 at 11:53 AM, Carlos Williams <[EMAIL PROTECTED]>wrote:

> On Mon, Sep 22, 2008 at 12:06 PM, James Kosin <[EMAIL PROTECTED]>
> wrote:
> > Brandon Perry wrote:
> >> your logs are owned by amavis?
>
> I followed this guide for how to configure permissions on Debian for
> Clamav.
>
> http://www200.pair.com/mecham/spam/clamav-amavisd-new.html
>
> Did I do something wrong or miss something?
>
> > That and amavis is the ONLY user allowed to write to the files (besides
> > the root user).
>
> What should the permissions be?
> _______________________________________________
> Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
> http://www.clamav.net/support/ml
>



-- 
http://www.volatileminds.net
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to