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

View File

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