mirror of
https://gitlab.com/simple-nixos-mailserver/nixos-mailserver.git
synced 2024-12-28 20:10:34 +05:00
fix vmail bug
This commit is contained in:
parent
6ac36a1092
commit
bbdcdfc0a7
@ -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.
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user