From 21e3c2a72f5392af592bae76041ecbfbd65caf7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sat, 8 Apr 2017 17:12:59 +0200 Subject: [PATCH] sstmp: document how to specify port/AuthPassFile --- nixos/modules/programs/ssmtp.nix | 6 ++++-- 1 file 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. takes precedence over .