3
0
Fork 0
forked from mirrors/nixpkgs
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 nixos/rabbitmq: fix module 2015-01-26 02:09:04 +01:00
audio nixos: add actkbd module and sound.enableMediaKeys option 2015-04-20 17:11:19 +00:00
backup postgresql-backup: cleanup 2015-05-19 18:35:22 +03:00
cluster nixos/kubernetes: fix module 2015-04-25 14:18:25 +02:00
computing slurm: impl basic configuration 2015-03-07 00:26:57 +03:00
continuous-integration/jenkins Merge recent master into staging 2014-09-13 21:48:29 +02:00
databases mysql: /run/mysql now 0755 (instead 0700) 2015-05-07 01:51:05 +02:00
desktops GNOME 3.16.1, closes #7357 2015-04-25 12:02:33 +02:00
games allow changing minecraft data dir + allow opening firewall 2015-04-07 14:10:13 +00:00
hardware Added BRLTTY package 2015-04-29 23:02:09 +02:00
logging nixos/fluentd: add support for config reload 2015-04-25 14:21:27 +02:00
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 nixos.samba: update required mounts 2015-04-16 20:18:03 +03:00
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 java: More default cleanups 2015-01-07 14:55:41 -08:00
security Add hologram service 2015-04-23 14:30:12 -04:00
system Ensure that nscd, sshd are created as system users 2015-05-13 16:23:36 +02:00
torrent Simplify (and fix) settings for transmission module. 2015-02-26 22:21:27 +00:00
ttys agetty: Add autologinUser config option 2015-04-14 10:45:28 +03:00
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