3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #8206 from bjornfor/postfix-var-mail

nixos/postfix: make symlink /var/mail -> /var/spool/mail
This commit is contained in:
Peter Simons 2015-06-07 18:10:11 +02:00
commit 42c65fd1c9

View file

@ -380,6 +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
ln -sf "${pkgs.postfix}/share/postfix/conf/"* /var/postfix/conf