On Tuesday 03 May 2005 22:07, rick pim wrote:
> 
>  > None without some information such as options used to start
>  > clamav-milter, clamd.conf, /etc/mail/sendmail.mc etc etc. 
> 
> clamav-milter is started with:
>   clamav-milter -PHl --postmaster=root -m 64 /var/clamav/clmilter.sock
> 
> here's an extract from clamd.conf:
> 
> # grep -v ^# clamd.conf | grep -v '^$'
> LogTime
> LogSyslog
> LogFacility LOG_MAIL
> TemporaryDirectory /export/home/clamav/tmp
> LocalSocket /var/clamav/clamd.sock
> FixStaleSocket
> MaxConnectionQueueLength 32
> StreamMaxLength 20M
> MaxThreads 64
> SelfCheck 3600
> User clamav
> ScanMail
> 
> sendmail.mc extract:
> 
> INPUT_MAIL_FILTER(`clamav', `S=local:/var/clamav/clmilter.sock, 
> F=,T=S:4m;R:4m')dnl
> define(`confINPUT_MAIL_FILTERS', `clamav')
> 
>  > Mind you I am
>  > worried about the mode 777 for clamd.sock, if nothing else that seems
>  > like a security breach to me.
> 
> true. but it seems to do that itself:
> 
> # ls -al /var/clamav/
> total 4
> drwxr-x---   2 clamav   clamav       512 May  3 17:02 ./
> drwxr-xr-x  32 root     sys          512 Feb 11 13:21 ../
> # /export/home/clamav/sbin/clamd
> # ls -al /var/clamav/
> total 4
> drwxr-x---   2 clamav   clamav       512 May  3 17:06 ./
> drwxr-xr-x  32 root     sys          512 Feb 11 13:21 ../
> srwxrwxrwx   1 clamav   clamav         0 May  3 17:06 clamd.sock=
> 
> rp
> 
> rick pim                                           [EMAIL PROTECTED]

You don've have a "clmilter.sock" file, which points to clamav-milter not 
having been started.

-- 
Nigel Horne. Arranger, Composer, Typesetter.
NJH Music, Barnsley, UK.  ICQ#20252325
[EMAIL PROTECTED] http://www.bandsman.co.uk
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to