Re: amavisd-new not using clamd

2004-03-22 Thread Robert Fitzpatrick
On Mon, 2004-03-22 at 11:43, Tom Munro Glass wrote:
> When a message is sent to amavisd for scanning I get the following message:
> 
> WARN: all primary virus scanners failed, considering backups
> 
Have you tested clamav to see if all works fine, run 'clamdscan
/path/to/a/file'. Also, check the /etc/rc.conf to be sure clamav is
enabled, see the top comments of /usr/local/etc/rc.d/clamd.sh.

> I have checked that /usr/local/etc/clamav.conf and /usr/local/etc/amavisd.conf 
> are both referring to the same socket file in /var/run/clamav/clamd. I am 
> running both clamd and amavisd as user vscan so I don't understand why 
> amavisd isn't using clamd.
> 
So, you have uncommented the clamav section of @av_scanners in
amavisd.conf. Be sure to restart both services after making any changes.

-- 
Robert

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


amavisd-new not using clamd

2004-03-21 Thread Tom Munro Glass
I have installed ClamAv and amavisd-new to work with Postfix. They are mostly 
working except that when I start amavisd I get the following message in 
maillog:

Found secondary av scanner Clam Antivirus - clamscan 
at /usr/local/bin/clamscan

When a message is sent to amavisd for scanning I get the following message:

WARN: all primary virus scanners failed, considering backups

I have checked that /usr/local/etc/clamav.conf and /usr/local/etc/amavisd.conf 
are both referring to the same socket file in /var/run/clamav/clamd. I am 
running both clamd and amavisd as user vscan so I don't understand why 
amavisd isn't using clamd.

Any ideas?

Regards

Tom Munro Glass
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"