On Mon, May 05, 2003 at 03:09:01PM -0300, Ronan Lucio <[EMAIL PROTECTED]> wrote: > $ ls -l /tmp/clamd > srwxrwxrwx 1 clamav wheel 0 May 5 11:29 /tmp/clamd > > ClamAV run as clamav user and Amavis run as vscan user. > > Should clamd and amavis run as the same user?
After looking at the log a little bit closer, it looks like clamd cannot access the file as shown in this log: May 5 11:06:17 salseiros.melim.com.br amavisd[94246]: (94246-01) Clam Antivirus-clamd: Sending CONTSCAN +/usr/var/amavis/amavis-20030505T110547-94246/parts\n to UNIX socket /tmp/clamd May 5 11:06:17 salseiros.melim.com.br amavisd[94246]: (94246-01) Clam Antivirus-clamd result: +/usr/var/amavis/amavis-20030505T110547-94246/parts: Can't stat() the file ERROR\n May 5 11:06:17 salseiros.melim.com.br amavisd[94246]: (94246-01) Clam Antivirus-clamd FAILED - unknown status: +/usr/var/amavis/amavis-20030505T110547-94246/parts: Can't stat() the file ERROR\n But that is kind of odd, since clamd is supposed to accept input through the socket, and amavisd-new should send the file through that socket to clamd. Try running clamd and amavisd-new as the same user to narrow down the problem. -- +------------------------------------------------------------+ | Dave Vasil [EMAIL PROTECTED] | | University of Tennessee Computer Science Dept. | | UTKCS Systems Administrator 865-974-8364 | +------------------------------------------------------------+ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]