about summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2017-04-08 17:12:59 +0200
committerJörg Thalheim <joerg@thalheim.io>2017-04-08 17:20:18 +0200
commit21e3c2a72f5392af592bae76041ecbfbd65caf7a (patch)
tree026a9969876b78847b466b00ab08a6561f78d5db /nixos/modules
parent1d52c677bec5b1ede7534455a35c035b359cb9e8 (diff)
downloadnixlib-21e3c2a72f5392af592bae76041ecbfbd65caf7a.tar
nixlib-21e3c2a72f5392af592bae76041ecbfbd65caf7a.tar.gz
nixlib-21e3c2a72f5392af592bae76041ecbfbd65caf7a.tar.bz2
nixlib-21e3c2a72f5392af592bae76041ecbfbd65caf7a.tar.lz
nixlib-21e3c2a72f5392af592bae76041ecbfbd65caf7a.tar.xz
nixlib-21e3c2a72f5392af592bae76041ecbfbd65caf7a.tar.zst
nixlib-21e3c2a72f5392af592bae76041ecbfbd65caf7a.zip
sstmp: document how to specify port/AuthPassFile
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/programs/ssmtp.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/nixos/modules/programs/ssmtp.nix b/nixos/modules/programs/ssmtp.nix
index 1702edab6e4e..44756171b74c 100644
--- a/nixos/modules/programs/ssmtp.nix
+++ b/nixos/modules/programs/ssmtp.nix
@@ -39,7 +39,8 @@ in
         example = "mail.example.org";
         description = ''
           The host name of the default mail server to use to deliver
-          e-mail.
+          e-mail. Can also contain a port number (ex: mail.example.org:587),
+          defaults to port 25 if no port is given.
         '';
       };
 
@@ -106,7 +107,8 @@ in
         default = null;
         example = "/run/keys/ssmtp-authpass";
         description = ''
-          Path to a file that contains the password used for SMTP auth.
+          Path to a file that contains the password used for SMTP auth. The file
+          should not contain a trailing newline, if the password does not contain one.
           This file should be readable by the users that need to execute ssmtp.
 
           <option>authPassFile</option> takes precedence over <option>authPass</option>.