git.iko.soy/typeable/nixpkgs
on master help sign in
postfix: don't create a symlink inside of /var/spool/mail if /var/mail exists already
commit2bb705da152a5213cbc879b425498f22d86ff341 authorPeter Simons <simons@cryp.to> dateMon 2 Nov 2015, 14:32 (11 years ago) parent11b1236
1 file changed+1−1
nixos/modules/services/mail/postfix.nix+1−1
nixos/modules/services/mail/postfix.nix+1−1
@@ -380,7 +380,7 @@ in
380380 ${pkgs.coreutils}/bin/chmod -R ug+rwX /var/postfix/queue
381381 ${pkgs.coreutils}/bin/chown root:root /var/spool/mail
382382 ${pkgs.coreutils}/bin/chmod a+rwxt /var/spool/mail
383− ${pkgs.coreutils}/bin/ln -sf /var/spool/mail /var/mail
383+ ${pkgs.coreutils}/bin/ln -sf /var/spool/mail /var/
384384
385385 ln -sf "${pkgs.postfix}/etc/postfix/"* /var/postfix/conf
386386