OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Question about postfix amavisd-n clamav with Suse 9.1

From: Andreas Winkelmann (mlawinkelmann.de)
Date: Fri Dec 31 2004 - 09:47:56 CST


Am Freitag, 31. Dezember 2004 16:19 schrieb Martijn:

> >>2) The second question what path/file to use in the clamav.conf?
> >>Is this correct "/var/lib/clamav/clamd-socket"?
> >>
> >>
> >>=========================================================================
> >>== ====== * clamav.conf
> >>=========================================================================
> >>== ======
> >>
> >>LogFile /var/log/clamav/clamd.log
> >>LogFileMaxSize 2M
> >>LogSyslog
> >>LogFacility LOG_MAIL
> >>PidFile /var/lib/clamav/clamd.pid
> >>TemporaryDirectory /tmp
> >>FixStaleSocket
> >>
> >>TCPSocket 3310
> >>TCPAddr 127.0.0.1
> >>
> >>User vscan
> >>Foreground
> >
> > You configured clamav to listen on an inet-socket. Amavisd looks for a
> > unix-socket.
>
> This is my problem :( what file should I use.. how to recognize a
> unix-socket? The stupid thing is that although I've been searching
> further I find only the same problems but no info that can help me
> further..

Un-Comment the LocalSocket-Line in your clamav.conf and Comment the TCPSocket
and TCPAddr-Lines.

The LocalSocket Line should contain "/var/lib/clamav/clamd-socket". It's in my
Suse 9.1 already defined.

Then restart clamav.

# rcclamd restart

--
        Andreas