/etc/ssmtp/ssmtp.conf
Contains configuration data for ssmtp.
Ssmtp configuration file
ssmtp reads configuration data from /etc/ssmtp/ssmtp.conf The file contains keyword-argument pairs, one per line. Lines starting with ‘#’ and empty lines are interpreted as comments.
The possible keywords and their meanings are as follows (both are case-insensitive):
RootThe user that gets all mail for userids less than 1000. If blank, address rewriting is disabled.
MailhubThe host to send mail to, in the form host port | IP_addr port [: port]. The default port is 25.
RewriteDomainThe domain from which mail seems to come. for user authentication.
HostnameThe full qualified name of the host. If not specified, the host is queried for its hostname.
FromLineOverrideSpecifies whether the From header of an email, if any, may override the default domain. The default is “no”.
UseTLSSpecifies whether ssmtp uses TLS to talk to the SMTP server. The default is “no”.
UseSTARTTLSSpecifies whether ssmtp does a EHLO/STARTTLS before starting SSL negotiation. See RFC 2487.
TLSCertThe file name of an RSA certificate to use for TLS, if required.
AuthUserThe user name to use for SMTP AUTH. The default is blank, in which case SMTP AUTH is not used. sent without
AuthPassThe password to use for SMTP AUTH.
AuthMethodThe authorization method to use. If unset, plain text is used. May also be set to “cram-md5”.
/etc/ssmtp/ssmtp.conf
Contains configuration data for ssmtp.
9 releases since Debian 4.0 (Etch); the text changed 1 time.