On Mon, Sep 22, 2008 at 12:56 PM, Brandon Perry
<[EMAIL PROTECTED]> wrote:
> 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/
>

Here is what I found in /etc/clamav/clamd.conf

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

*Obviously that file contains much more config data however I assume
above is what is relevant to this issue I am having*

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

It already is 'amavis'
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to