Mike, > Creation of socket is in the hands of Net::Server. Try the following change > (patch against 2.4.2, but should apply to other versions as well):
Actually my previous patch was not too clever, it affected file protection of pid file as well. Strike it, and try this one: --- amavisd.orig Tue Jun 27 13:31:56 2006 +++ amavisd Fri Sep 29 15:08:00 2006 @@ -6867,4 +6867,12 @@ } +sub post_configure_hook { + umask(0007); # affect protection of Unix sockets created by Net::Server +} + +sub post_bind_hook { + umask(0027); # restore our preferred umask +} + ### Net::Server hook ### This hook occurs in the parent (master) process after chroot, Mark ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/