[Mimedefang] Re: Permissions on mimedefang.socket

Danny Kjærgaard danny at resennet.dk
Wed Apr 4 09:21:33 EDT 2007


Hi,

Well that was my first intention but seemed rather buggy, but if thats the onlye way then i have to try it.

Yeah postfix and minedefang works great. Only the socket problem.
I run postfix, mimedefang,sa, clamd more or less right out of the box.

Cheers.
Danny

"David F. Skoll" <dfs at roaringpenguin.com> skrev i en meddelelse news:<4613A12F.1000608 at roaringpenguin.com>...
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.
----------

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.25/745 - Release Date: 03-04-2007 12:48
 



More information about the MIMEDefang mailing list