[Mimedefang] Problem with permissions

Bill Maidment bill at maidment.vu
Tue Sep 9 18:40:55 EDT 2008

I have set up many sendmail/mimedefang systems without any hassles, but this time I've
hit a snag that is defeating me.
When I try to start sendmail it reports:

Starting sendmail: 451 4.0.0 /etc/mail/sendmail.cf: line 1804: Xmimedefang: local socket
name /var/spool/MIMEDefang/mimedefang.sock unsafe: Permission denied

Permissions looks OK to me:

drwxr-xr-x  24 root root  4096 2008-08-27 07:02 var

drwxr-xr-x 17 root root  4096 2008-09-09 13:48 spool

drwx------  2 defang defang  140 2008-09-10 07:50 MIMEDefang

sendmail.mc contains:

INPUT_MAIL_FILTER(`mimedefang', `S=unix:/var/spool/MIMEDefang/mimedefang.sock, F=T,

Can anyone give me a hint as to what is wrong? I bet it's something very simple that
I've forgotten.


PS permissions on mimedefang.sock are:

srwxr-x---  1 defang defang    0 2008-09-10 07:50 mimedefang.sock

and /var/spool/MIMEDefang is mounted by:

/bin/mount -t tmpfs -o size=512m,mode=0700,uid=defang,gid=defang /dev/shm

Bill Maidment
Maidment Enterprises Pty Ltd
One-armed Consultant to Elgas Ltd
Phone: 02 9904 3364

More information about the MIMEDefang mailing list