sstmp: document how to specify port/AuthPassFile

Changed files
+4 -2
nixos
modules
programs
+4 -2
nixos/modules/programs/ssmtp.nix
···
example = "mail.example.org";
description = ''
The host name of the default mail server to use to deliver
-
e-mail.
'';
};
···
default = null;
example = "/run/keys/ssmtp-authpass";
description = ''
-
Path to a file that contains the password used for SMTP auth.
This file should be readable by the users that need to execute ssmtp.
<option>authPassFile</option> takes precedence over <option>authPass</option>.
···
example = "mail.example.org";
description = ''
The host name of the default mail server to use to deliver
+
e-mail. Can also contain a port number (ex: mail.example.org:587),
+
defaults to port 25 if no port is given.
'';
};
···
default = null;
example = "/run/keys/ssmtp-authpass";
description = ''
+
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>.