nixpkgs/nixos/modules/services/mail
Alexander V. Nikolaev 39bd9be5a9 postfix: use built-in set-permission tool to setup queue
Make top level /var/lib/postfix as root:root 0755

After generating custom configs in /var/lib/postfix/conf,
`postfix set-permissions` called, to perform all required tricks
related to queue handling (postfix use file mode bits to keep
some internal statuses, so `chmod -R` not recommended by authors,
see comments in $out/libexec/postfix/post-install for details)

Also post-install script was patched, to skip permission check/update
for files inside $out, as well as symlinks following to $NIX_STORE.

Config file `main.cf` extended with all default directory locations,
to prevent post-install script from guessing and overwrite them.

And finally all actions in activation script snippets performed
by postmap/postalias/postfix tools from current build, not random one
from paths.
2016-01-20 14:52:59 +02:00
..
dovecot.nix Add missing 'type', 'defaultText' and 'literalExample' in module definitions 2016-01-17 19:41:23 +01:00
dspam.nix nixos/dspam: add module 2016-01-13 13:08:55 +03:00
exim.nix exim: add version 4.85 incl. nixos module 2015-02-20 10:49:15 +01:00
freepops.nix jobs -> systemd.services 2016-01-07 06:39:06 +00:00
mail.nix Rewrite ‘with pkgs.lib’ -> ‘with lib’ 2014-04-14 16:26:48 +02:00
mlmmj.nix mlmmj: Fix invalid mailman entry and update transports and virtual dbs on activation 2015-09-16 09:31:38 +02:00
opendkim.nix nixos/opendkim: add module 2016-01-13 13:07:46 +03:00
opensmtpd.nix Revert "Revert "Merge pull request #9543 from NixOS/staging.post-15.06"" 2015-11-14 12:32:51 -08:00
postfix.nix postfix: use built-in set-permission tool to setup queue 2016-01-20 14:52:59 +02:00
postsrsd.nix nixos/postsrsd: add module 2016-01-13 13:04:12 +03:00
rmilter.nix nixos: add module for rmilter 2016-01-16 15:12:30 +02:00
rspamd.nix nixos: Add module for rspamd 2016-01-16 15:11:36 +02:00
spamassassin.nix jobs -> systemd.services 2016-01-07 06:39:06 +00:00