[Mimedefang] /var/spool/MIMEDefang/mimedefang.sock unsafe

ADNET Ghislain gadnet at aqueos.com
Wed Apr 2 12:34:41 EDT 2008


 I am a little puzzled by an  issue i have setup sendmail+mimedefang but 
i got the famous unsafe socket error. First the setup is :

*mailserver:/var/spool/MIMEDefang%(root)> grep -i mime /etc/mail/*.mc*
/etc/mail/mailserver.me.com.mc:dnl INPUT_MAIL_FILTER(`mimedefang', 
`S=unix:/var/spool/MIMEDefang/mimedefang.sock, F=T, T=S:1m;R:1m')dnl
*mailserver:/var/spool/MIMEDefang%(root)> ls -lad /var*
drwxr-xr-x  19 root  wheel  512 Feb 23 19:40 /var
*mailserver:/var/spool/MIMEDefang%(root)> ls -lad /var/spool/*
drwxr-xr-x  10 root  wheel  512 Apr  2 15:01 /var/spool/
*mailserver:/var/spool/MIMEDefang%(root)> ls -lad /var/spool/MIMEDefang/*
drwx--x---  3 mailnull  wheel  512 Apr  2 17:52 /var/spool/MIMEDefang/
*mailserver:/var/spool/MIMEDefang%(root)> grep 
'/var/spool/MIMEDefang/mimedefang.sock' /var/log/maillog*
Apr  2 17:22:20 mailserver sm-mta[56860]: m32FMKrs056860: Milter 
(mimedefang): local socket name /var/spool/MIMEDefang/mimedefang.sock unsafe
*/var/spool/MIMEDefang%(root)> ps auxwwww | grep 
mailnull 84071  0.0  0.0  1932  1268  ??  S     5:55PM   0:00.00 
/usr/local/bin/mimedefang -P /var/spool/MIMEDefang/mimedefang.pid -R -1 
-m /var/spool/MIMEDefang/mimedefang-multiplexor.sock -z 
/var/spool/MIMEDefang -U mailnull -s -p 

So everything seems ok, the directory seems ok, the path are good but 
mimedefang does not create the socket :(  Any idea why ?

I searched in the faq and googled but nothing worked... The funny part 
is that is have the same kind of setup that works on other servers with 
the same directory perms and all... hum must be missing something obvious ?

it use freebsd 6.2 with mimedefang 2.64 from ports.


More information about the MIMEDefang mailing list