From b5f22aff311d966e571c812fbd47d63693ee151c Mon Sep 17 00:00:00 2001 From: Robin Raymond Date: Tue, 21 Nov 2017 11:43:10 +0100 Subject: [PATCH] update documentation --- default.nix | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/default.nix b/default.nix index 4fe7778..ee12213 100644 --- a/default.nix +++ b/default.nix @@ -118,16 +118,17 @@ in virtualAliases = mkOption { type = types.attrsOf (types.enum (builtins.attrNames cfg.loginAccounts)); example = { - info = "user1"; - postmaster = "user1"; - abuse = "user1"; + "info@example.com" = "user1@example.com"; + "postmaster@example.com" = "user1@example.com"; + "abuse@example.com" = "user1@example.com"; }; description = '' - Virtual Aliases. A virtual alias `info = "user1"` means that - all mail to `info@example.com` is forwarded to `user1@example.com`. Note + Virtual Aliases. A virtual alias `"info@example2.com" = "user1@example.com"` means that + 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 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 = {}; };