Scroll to navigation

SSMTP.CONF(5) File Formats Manual SSMTP.CONF(5)

NAME

ssmtp.confssmtp configuration file

DESCRIPTION

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):

The user that gets all mail for userids less than 1000. If blank, address rewriting is disabled.
The host to send mail to, in the form host port | IP_addr port [: port]. The default port is 25.
The domain from which mail seems to come. for user authentication.
The full qualified name of the host. If not specified, the host is queried for its hostname.
Specifies whether the From header of an email, if any, may override the default domain. The default is “no”.
Specifies whether ssmtp uses TLS to talk to the SMTP server. The default is “no”.
Specifies whether ssmtp does a EHLO/STARTTLS before starting SSL negotiation. See RFC 2487.
The file name of an RSA certificate to use for TLS, if required.
The file name of an RSA key to use for TLS, if required.
A file of trusted certificates for validating the server, if required.
A directory of trusted certificates for validating the server, if required.
VerifyPeer
Specifies whether ssmtp to verify peer(server) certificate.
VerifyPeerName
Specifies whether ssmtp to verify peer(server) hostname.
AllowSelfSigned
Specifies whether ssmtp to allow self signed certificates.
The user name to use for SMTP AUTH. The default is blank, in which case SMTP AUTH is not used. sent without
The password to use for SMTP AUTH.
The authorization method to use. If unset, plain text is used. May also be set to
“cram-md5”.

FILES

/etc/ssmtp/ssmtp.conf
Contains configuration data for ssmtp.

SEE ALSO

ssmtp(8)

AUTHORS

Matt Ryan (mryan@debian.org), Hugo Haas (hugo@debian.org), Christoph Lameter (clameter@debian.org), Dave Collier-Brown (davecb@hobbes.ss.org) and Syed Shahrukh Hussain (syed.shahrukh@ossrevival.org). Reuben Thomas (rrt@sc3d.org) wrote the man page.

February 19, 2026 Nixpkgs