fix vmail bug

This commit is contained in:
Robin Raymond 2017-10-18 09:20:44 +02:00
parent 6ac36a1092
commit bbdcdfc0a7
2 changed files with 4 additions and 4 deletions

View File

@ -113,7 +113,7 @@ in
vmailUserName = mkOption {
type = types.str;
default = "vmail";
default = "virtualMail";
description = ''
The user name and group name of the user that owns the directory where all
the mail is stored.
@ -122,7 +122,7 @@ in
vmailGroupName = mkOption {
type = types.str;
default = "vmail";
default = "virtualMail";
description = ''
The user name and group name of the user that owns the directory where all
the mail is stored.

View File

@ -20,12 +20,12 @@ with config.mailserver;
let
vmail_user = [{
name = "vmail2";
name = vmailUserName;
isNormalUser = false;
uid = vmailUIDStart;
home = mailDirectory;
createHome = true;
group = "vmail2";
group = vmailGroupName;
}];
# accountsToUser :: String -> UserRecord