0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 06:00:33 +03:00

sstmp: document how to specify port/AuthPassFile

This commit is contained in:
Jörg Thalheim 2017-04-08 17:12:59 +02:00
parent 1d52c677be
commit 21e3c2a72f
No known key found for this signature in database
GPG key ID: CA4106B8D7CC79FA

View file

@ -39,7 +39,8 @@ in
example = "mail.example.org"; example = "mail.example.org";
description = '' description = ''
The host name of the default mail server to use to deliver 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; default = null;
example = "/run/keys/ssmtp-authpass"; example = "/run/keys/ssmtp-authpass";
description = '' 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. This file should be readable by the users that need to execute ssmtp.
<option>authPassFile</option> takes precedence over <option>authPass</option>. <option>authPassFile</option> takes precedence over <option>authPass</option>.