nixpkgs/nixos/modules/services/mail
Bjørn Forsman 12e84c6378 nixos/postfix: make symlink /var/mail -> /var/spool/mail
This solves the problem of e.g. mutt not finding mail unless the user
sets MAIL=/var/spool/mail/$USER.

The default MAIL variable seems come from bash. Reasons for adding
symlink instead of changing MAIL default in bash:

- No need to rebuild world
- FHS recommends /var/mail over /var/spool/mail anyway[1]. Better fix
  NixOS mail location than change MAIL in bash to something that doesn't
  work on non-NixOS (however unlikely that users run nixpkgs bash on a
  non-NixOS distro...).

[1] http://www.pathname.com/fhs/pub/fhs-2.3.html#VARMAILUSERMAILBOXFILES
2015-06-07 10:38:11 +02:00
..
dovecot.nix nixos/dovecot: added configFile option and default Restart on-failure, PR #5845 2015-01-19 11:05:56 +01:00
exim.nix exim: add version 4.85 incl. nixos module 2015-02-20 10:49:15 +01:00
freepops.nix
mail.nix
mlmmj.nix Fix user-facing typos (mainly in descriptions) 2014-12-30 03:31:03 +01:00
opensmtpd.nix
postfix.nix nixos/postfix: make symlink /var/mail -> /var/spool/mail 2015-06-07 10:38:11 +02:00
spamassassin.nix