[Mimedefang] Permissions on mimedefang.socket
David F. Skoll
dfs at roaringpenguin.com
Wed Apr 4 08:59:27 EDT 2007
Danny Kjærgaard wrote:
> I run postfix and mimedefang,
Really??? And does it work?
> and have a problem with the permission on the
> socket file. The permission on the socket is :
> srwxr-x--- 1 _mdefang _mdefang 0 Apr 4 11:20 mimedefang.socket
> I need the permissions to be 0770 so the postfix user can use the socket.
You could modify the startup script to wait until mimedefang.socket
appears and then just chmod it. Something like this:
rm -f /var/spool/MIMEDefang/mimedefang.socket
# Sstart MIMEDefang and the multiplexor, and then...
for i in `seq 1 10` ; do
if test -e /var/spool/MIMEDefang/mimedefang.socket ; thne
chmod 0755 /var/spool/MIMEDefang/mimedefang.socket
break
fi
sleep 1
done
Regards,
David.
More information about the MIMEDefang
mailing list