Re: [AMaViS-user] Problem integrating ClamAV into Amavis

This is a discussion on Re: [AMaViS-user] Problem integrating ClamAV into Amavis within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; mahoneyf wrote: > I'm running an rather old version of Amavis (not able to upgrade it at > this ...


Go Back   Usenet Forums > Anti-Spam and Anti-Virus Related Forums > Amavis User

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-10-2007
Gary V
 
Posts: n/a
Default Re: [AMaViS-user] Problem integrating ClamAV into Amavis

mahoneyf wrote:

> I'm running an rather old version of Amavis (not able to upgrade it at
> this time). I've been using amavis with uvscan, but am now trying to
> integrate clamav to replace uvscan.


> I've been very careful to verify that the amavis stanza in
> amavisd.conf points to the same socket file as clamd.conf specifies,
> I've configured clamav to run as user amavis, and I've set ownership
> of the clamav files to amavis.


> When I start amavis I get the following in amavis.log:
> Jul 10 10:02:16 pd.iowatelecom.net amavisd[7280]: (07280-01) WARN: all
> primary virus scanners failed, considering backups


> The appropriate section of amavisd.conf looks like:
> ['Clam Antivirus-clamd',
> \&ask_daemon, ["CONTSCAN {}\n", "/var/run/clamav/clamd.ctl"],
> qr/\bOK$/, qr/\bFOUND$/,
> qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ],


> clamd.conf contains:
> LocalSocket /var/run/clamav/clamd.ctl


> so you can see that both clamav and amavis are looking at the same
> socket. Any clues as to why amavis isn't recognizing the existence of
> clamd running on the specified socket?


This error message does not tell us much. This looks like Debian. See
this post:

http://marc.info/?l=amavis-user&m=117906726021005

If your version of sed does not support 'in place' editing, manually
edit the files in question.

Gary V



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/...fo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:12 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0