I've made some progress. The sendmail out of memory stuff is gone, but now
sendmail is complaining that the clmilter.sock is unsafe.  I've Googled myself
into a tizzy, but can't find a fix.


These errors are in /var/log/maillog.

Mar 19 15:22:45 ciscy sendmail[18114]: i2JLMjNR018114: Milter (clmilter):
local socket name /var/run/clamav/clmilter.sock unsafe
Mar 19 15:22:45 ciscy sendmail[18114]: i2JLMjNR018114: Milter (clmilter): to
error state

This is how the milter is referenced in sendmail.mc

INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clamav/clmilter.sock,F=,
T=S:4m;R:4m')dnl
define(`confINPUT_MAIL_FILTERS', `clmilter')

The mailter and daemon seem to be running as expected 

# ps -ef |grep clam
clamav   17615     1  0 14:18 ?        00:00:00 /usr/sbin/clamd
clamav   17637     1  0 14:18 ?        00:00:00 /usr/sbin/clamav-milter
--max-children=10 --force-scan --quiet --dont-log-clean --server=localhost
local:/var/run/clamav/clamav-milter.sock

The milter config file follows:

[/etc/sysconfig]# more clamav-milter
CLAMAV_FLAGS="--max-children=10 --force-scan --quiet --dont-log-clean
--server=localhost local:/var/run/clamav/clamav-milter.sock"

The director and run files seem apropriately secured:

# ls -ld /var/run/clamav/
drwx-----T  2 clamav clamav 4096 Mar 19 14:18 /var/run/clamav/

# ls -l /var/run/clamav/
total 4
srwx------  1 clamav clamav 0 Mar 19 14:18 clamav-milter.sock
-rwx------  1 clamav clamav 5 Mar 19 14:18 clamd.pid
srwx------  1 clamav clamav 0 Mar 19 14:18 clamd.sock

I've also tried changing the directory security to

drwxr--r--  2 clamav root 4096 Mar 19 15:37 clamav

--
   Steve
   


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to