On Sat, May 24, 2003 at 10:37:46AM +0200, Thomas Lamy wrote:
> clamav wrote:
> >Since I currently have clamd listening on /var/amavis/clamd.socket, can
> >I simply change the above to say:
> >
> > ['Clam Antivirus-clamd',
> >   \&ask_daemon, ["CONTSCAN {}\n", '/var/amavis/clamd.socket'],
> >   qr/\bOK$/, qr/\bFOUND$/,
> >   qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ],
> >
> Yes, that should work. Just double check that the amavis user has 
> read/write access to the socket.
> >
> >How does it know that /var/amavis/clamd.socket is a file socket rather
> >than a program that it is trying to start?
> >
> Because of the &ask_daemon, which will try to connect to a socket (UNIX 
> or INET).

Oh thank you! That answers quite a lot of questions actually. Now I can
really play with this integration. Thank you sir!

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to