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
exim.nix
freepops.nix
mail.nix
mailhog.nix
mlmmj.nix
nullmailer.nix
offlineimap.nix
opendkim.nix
opensmtpd.nix
postfix.nix nixos/postfix: undo deprecation of extraConfig, extraMasterConf 2017-09-07 21:41:29 +02:00
postgrey.nix
postsrsd.nix
rmilter.nix
rspamd.nix
spamassassin.nix