1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-22 22:49:47 -04:00
nixpkgs/nixos/modules/services
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
..
amqp
audio
backup postgresql-backup: cleanup 2015-05-19 18:35:22 +03:00
cluster
computing
continuous-integration/jenkins
databases mysql: /run/mysql now 0755 (instead 0700) 2015-05-07 01:51:05 +02:00
desktops
games
hardware Added BRLTTY package 2015-04-29 23:02:09 +02:00
logging
mail nixos/postfix: make symlink /var/mail -> /var/spool/mail 2015-06-07 10:38:11 +02:00
misc Merge pull request #8127 from ip1981/mwlib 2015-06-03 12:50:02 +02:00
monitoring nixos/apcupsd: don't evaluate event hooks at build time 2015-06-01 22:14:03 +02:00
network-filesystems
networking Merge pull request #7559 from offlinehacker/openvswitch/ipsec 2015-05-26 11:26:02 +01:00
printing Revert "cups: Rename "browsing" config option to "advertise"" 2015-05-10 20:47:50 +02:00
scheduling Make it easy to override the marathon framework user 2015-05-29 18:07:07 +02:00
search
security
system Ensure that nscd, sshd are created as system users 2015-05-13 16:23:36 +02:00
torrent
ttys
web-servers Merge pull request #7605 from ip1981/wiki 2015-04-28 19:00:27 +03:00
x11 nixos/lightdm: More changes 2015-05-21 20:10:52 -07:00