nixpkgs-suyu/nixos
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
..
doc/manual NixOS Manual: document assertions and warnings (#29206) 2017-09-11 17:12:50 +01:00
lib Deduplicate some filterSource invocations 2017-08-29 20:27:04 -04:00
maintainers nixos/nova-image: cleanup image builders (#29242) 2017-09-11 17:33:33 +01:00
modules nixos/dovecot: Fix createMailUser implementation 2017-09-17 04:57:20 +02:00
tests nixos/dovecot: Fix createMailUser implementation 2017-09-17 04:57:20 +02:00
COPYING
default.nix Remove nixFallback 2017-03-06 15:54:50 +01:00
README
release-combined.nix nixos/release-combined: remove basic kernel tests 2017-09-16 12:45:30 +02:00
release-small.nix nixos/release-small.nix: cleanup to use default versions 2017-01-27 15:33:54 +01:00
release.nix nixos/dovecot: Fix createMailUser implementation 2017-09-17 04:57:20 +02:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
http://nixos.org/nixos and in the manual in doc/manual.