On 4/25/10, The Doctor wrote:
> Right, I have to either disable av_scanner or get
> amavis to work with port 3310.
>
>
> What nneds to be done and NO I will not use a socket for clamd.
>

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

in clamd.conf:
Comment out LocalSocket:
# LocalSocket /var/run/clamav/clamd.sock

Add TCPSocket if it's missing:
TCPSocket 3310

You need this:
AllowSupplementaryGroups yes

The clamav user needs to a member of the same group that the
amavisd-new user belongs to.

You must be running clamav 0.95 or newer. Older versions will not start up.


-- 
Gary V

------------------------------------------------------------------------------
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
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