Aurélien wrote:

> Hi,
>   Is it possible to configure Amavis to use the ClamAV TCP socket
> instead of use a local socket ?
>   Thanks for your answers.
> Regards,
> Aurélien

yes

 ['ClamAV-clamd',
    \&ask_daemon, ["CONTSCAN {}\n", '127.0.0.1:3310'],
   qr/\bOK$/, qr/\bFOUND$/,
   qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ],

In clamd.conf

TCPSocket 3310

Comment out LocalSocket.

If you are running clamd as user 'clamav', add the clamav user to the
same group your amavisd-new user belongs to, and in clamd.conf enable:

AllowSupplementaryGroups

stop amavisd
stop clamd
start clamd
start amavisd

Gary V


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to