From 2a783dc0bed64a64c5a03e0a3d4436f2d7a54cfa Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Fri, 6 May 2016 22:25:12 +0200 Subject: The socket should be group-writable The MTA should be able to write to the socket and it is running in another user. So we have to change the umask to make the socket group-writable. --- dmarc_milter.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/dmarc_milter.pl b/dmarc_milter.pl index 4a0497f..67e463f 100755 --- a/dmarc_milter.pl +++ b/dmarc_milter.pl @@ -94,6 +94,7 @@ sub main($listen, $mailman, $message) { # Start the mainloop: # No interpreter limit, but recycle after 100 requests + umask(0002); Sendmail::Milter::main(0, 100); } -- cgit v1.2.3-1-g7c22