On Sun, Apr 25, 2010 at 11:25:21AM -0600, Gary V wrote:
> 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.
>
>
That did the trick.
Write it up in the docs.
> --
> Gary V
>
> ------------------------------------------------------------------------------
> _______________________________________________
> 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/
--
Member - Liberal International This is [email protected] Ici [email protected]
God, Queen and country! Never Satan President Republic! Beware AntiChrist
rising!
http://twitter.com/rootnl2k http://www.facebook.com/dyadallee
UK Time for a Common Sense change vote Liberal Democrat / Alliance
------------------------------------------------------------------------------
_______________________________________________
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/