summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Bergmann <marius@yeai.de>2017-09-28 08:37:48 +0200
committerRobin Gloster <mail@glob.in>2017-09-28 22:43:50 +0200
commite9356fd0dfde9f8bb3aca594715e586d8a3c38a3 (patch)
tree026ad891166f5bd4d586c1b46fc939cacca2775b
parentnullmailer: fix relative -> absolute path in preStart script (diff)
downloadnixpkgs-e9356fd0dfde9f8bb3aca594715e586d8a3c38a3.tar.gz
nullmailer: use proper description for `remotes` option
(cherry picked from commit 02e89de71c402aa4e4a96737a54e07e86a1ef253)
-rw-r--r--nixos/modules/services/mail/nullmailer.nix11
1 files changed, 10 insertions, 1 deletions
diff --git a/nixos/modules/services/mail/nullmailer.nix b/nixos/modules/services/mail/nullmailer.nix
index 2eb2d39fc62e..68cba4a7436e 100644
--- a/nixos/modules/services/mail/nullmailer.nix
+++ b/nixos/modules/services/mail/nullmailer.nix
@@ -142,7 +142,16 @@ with lib;
type = types.nullOr types.str;
default = null;
description = ''
- If set, content will override the envelope sender on all messages.
+ A list of remote servers to which to send each message. Each line
+ contains a remote host name or address followed by an optional
+ protocol string, separated by white space.
+
+ See <code>man 8 nullmailer-send</code> for syntax and available
+ options.
+
+ WARNING: This is stored world-readable in the nix store. If you need
+ to specify any secret credentials here, consider using the
+ <code>remotesFile</code> option instead.
'';
};