>>Problem: clamav-milter loads and immediately terminates

>You gave lots of good build information, but didn't say how you were
>calling the milter itself.  To give you something to compare to, here's
>how I call it on mine:

># ps aux | grep clamav-milter | grep -v grep

>clamav     686  0.0  0.2 49760 1112 ?        Ssl  Apr13   0:27 clamav-milter 
>--config-file=/etc/clamd.conf --max-children=20 --force-scan --quiet 
>--external -ol local:/var/lib/clamav/clamav-milter.socket

>One really important thing is that the directory where it should write
>the socket must be writable by the user you're telling it to run as.  If
>I had to lay money down, I would say that's what is wrong in your case.


my startup command is:
mail# /usr/pkg/sbin/clamav-milter --external --max-children=10 \
    --pidfile=/var/run/clamav/clamav-milter.pid \
        --quarantine-dir=/var/run/clamav/quarantine 
local:/var/lib/clamav/clamav.sock

mail# ps -ax | grep clam
  636 ?     IWs  0:00.01 /usr/pkg/bin/freshclam -d -c2
  671 ?     IWsa 0:03.88 /usr/pkg/sbin/spamass-milter -u clamav -p 
/var/run/spamass.sock -f
19645 ?     Ssa  0:04.46 /usr/pkg/sbin/clamd

the clamav.sock file is created but the clamav-milter has terminated.

I am calling it from sendmail - also calling spamass-milter which is working
     
from clamd.log:
Thu Apr 17 14:44:03 2008 -> Starting ClamAV version 0.93, clamav-milter version 
0.93
_res is not supported for multi-threaded programs.

What does the "_res is not supported" mean?
  
>Regards...             Todd

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to