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