3
0
Fork 0
forked from mirrors/nixpkgs

postfix: don't create a symlink inside of /var/spool/mail if /var/mail exists already

This commit is contained in:
Peter Simons 2015-11-02 14:32:08 +01:00
parent 11b1236627
commit 2bb705da15

View file

@ -380,7 +380,7 @@ in
${pkgs.coreutils}/bin/chmod -R ug+rwX /var/postfix/queue
${pkgs.coreutils}/bin/chown root:root /var/spool/mail
${pkgs.coreutils}/bin/chmod a+rwxt /var/spool/mail
${pkgs.coreutils}/bin/ln -sf /var/spool/mail /var/mail
${pkgs.coreutils}/bin/ln -sf /var/spool/mail /var/
ln -sf "${pkgs.postfix}/etc/postfix/"* /var/postfix/conf