nixpkgs/pkgs/servers/mail/postfix
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
..
2.11.nix postfix: patch to stop hard coding SHELL 2015-12-31 17:03:48 +08:00
3.0.nix postfix: use built-in set-permission tool to setup queue 2016-01-20 14:52:59 +02:00
db-linux3.patch Updating our super-old postfix. 2.8.6 builds. I don't know if it serves well. 2011-11-05 18:50:43 +00:00
default.nix postfix: patch to stop hard coding SHELL 2015-12-31 17:03:48 +08:00
post-install-script.patch postfix: use built-in set-permission tool to setup queue 2016-01-20 14:52:59 +02:00
postfix-2.2.9-db.patch get postfix to build. Note: install still has to be done, but this will 2006-03-10 23:48:34 +00:00
postfix-2.2.9-lib.patch get postfix to build. Note: install still has to be done, but this will 2006-03-10 23:48:34 +00:00
postfix-2.11.0.patch postfix: Add version 2.11.0 as nixpkgs.postfix211 2014-04-24 11:56:54 +02:00
postfix-3.0-no-warnings.patch postfix30: add patch to silence setuid-in-nix-store related warnings 2016-01-12 16:41:35 +03:00
postfix-script-shell.patch postfix: patch to stop hard coding SHELL 2015-12-31 17:03:48 +08:00