add copyright headers, fix a few things
[distro-setup] / mail-setup
index f7dd6b4a01c33455dbcbddd47ea4859e17aa6afe..db4daa7615c4508a3eaa3aae09b6b6244b380e33 100755 (executable)
@@ -158,7 +158,7 @@ EOF
 
     f=/etc/exim4/passwd.client
     s touch $f
-    s chmod 600 $f # make it 600 before writing sensitive info
+    s chmod 640 $f # before writing sensitive info
     echo "$domain:${pass/:/::}" | s dd of=$f >/dev/null
     # https://blog.dhampir.no/content/make-exim4-on-debian-respect-forward-and-etcaliases-when-using-a-smarthost
     # i only need .forwards, so just doing that one.