fix vmail bug
This commit is contained in:
parent
6ac36a1092
commit
bbdcdfc0a7
2 changed files with 4 additions and 4 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue