update documentation
This commit is contained in:
parent
a7396c5b25
commit
b5f22aff31
13
default.nix
13
default.nix
|
@ -118,16 +118,17 @@ in
|
||||||
virtualAliases = mkOption {
|
virtualAliases = mkOption {
|
||||||
type = types.attrsOf (types.enum (builtins.attrNames cfg.loginAccounts));
|
type = types.attrsOf (types.enum (builtins.attrNames cfg.loginAccounts));
|
||||||
example = {
|
example = {
|
||||||
info = "user1";
|
"info@example.com" = "user1@example.com";
|
||||||
postmaster = "user1";
|
"postmaster@example.com" = "user1@example.com";
|
||||||
abuse = "user1";
|
"abuse@example.com" = "user1@example.com";
|
||||||
};
|
};
|
||||||
description = ''
|
description = ''
|
||||||
Virtual Aliases. A virtual alias `info = "user1"` means that
|
Virtual Aliases. A virtual alias `"info@example2.com" = "user1@example.com"` means that
|
||||||
all mail to `info@example.com` is forwarded to `user1@example.com`. Note
|
all mail to `info@example2.com` is forwarded to `user1@example.com`. Note
|
||||||
that it is expected that `postmaster@example.com` and `abuse@example.com` is
|
that it is expected that `postmaster@example.com` and `abuse@example.com` is
|
||||||
forwarded to some valid email address. (Alternatively you can create login
|
forwarded to some valid email address. (Alternatively you can create login
|
||||||
accounts for `postmaster` and (or) `abuse`).
|
accounts for `postmaster` and (or) `abuse`). Furthermore, it also allows
|
||||||
|
the user `user1@example.com` to send emails as `info@example2.com`.
|
||||||
'';
|
'';
|
||||||
default = {};
|
default = {};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue