nixpkgs/nixos/modules/services/mail
aszlig 3ba2095a42
nixos/dovecot: Fix createMailUser implementation
This option got introduced in 7904499542
and it didn't check whether mailUser and mailGroup are null, which they
are by default.

Now we're only creating the user if createMailUser is set in conjunction
with mailUser and the group if mailGroup is set as well.

I've added a NixOS VM test so that we can verify whether dovecot works
without any additional options set, so it serves as a regression test
for issue #29466 and other issues that might come up with future changes
to the Dovecot service.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Fixes: #29466
Cc: @qknight, @abbradar, @ixmatus, @siddharthist
2017-09-17 04:57:20 +02:00
..
dovecot.nix nixos/dovecot: Fix createMailUser implementation 2017-09-17 04:57:20 +02:00
dspam.nix dspam service: run after postgresql to prevent segfaults 2016-03-27 19:23:01 +03:00
exim.nix More derp 2017-01-29 05:33:56 -06:00
freepops.nix treewide: deprecate ip-up.target (#18319) 2016-09-10 18:03:59 +02:00
mail.nix Fixing a bunch of issues 2017-01-29 01:58:12 -06:00
mailhog.nix mailhog: init at 1.0.0 (#26821) 2017-06-24 17:05:34 +01:00
mlmmj.nix nixos/mlmmj: fix newline problems with multiple lists 2017-05-25 10:40:50 -05:00
nullmailer.nix nullmailer + service: init at 2.0 2017-05-02 01:46:12 +02:00
offlineimap.nix nixos/treewide: remove boolean examples for options 2017-03-17 23:36:19 +01:00
opendkim.nix Escape all shell arguments uniformly 2016-06-12 18:11:37 +01:00
opensmtpd.nix opensmtpd service: fix evaluation error caused by Joachim's refactoring 2016-10-30 11:34:16 +01:00
postfix.nix nixos/postfix: undo deprecation of extraConfig, extraMasterConf 2017-09-07 21:41:29 +02:00
postgrey.nix postgrey: improve formatting 2017-01-02 15:42:51 +01:00
postsrsd.nix postsrsd: additional configuration 2016-12-11 21:43:45 +01:00
rmilter.nix rmilter/rspamd service: tighten unix socket permissions 2017-03-17 23:01:24 +01:00
rspamd.nix rmilter/rspamd service: tighten unix socket permissions 2017-03-17 23:01:24 +01:00
spamassassin.nix spamassassin: major service fixes -> added more perl packages to spamassassin and abstracted service to not use /etc/spamassassin, also running sa-update as spamd user periodically (#26470) 2017-06-10 09:35:35 +02:00