SSMTP.CONF(5)

πŸŽ€ SSMTP.CONF(5) πŸŽ€

okay bestie, welcome to the File Formats Manual page for ssmtp.conf πŸ’– this is a short one, we love a short one, let's get into it.


✨ NAME ✨

ssmtp.conf β€” the configuration file for ssmtp. that's it. that's the name. iconic behavior honestly 🌸


πŸ“– DESCRIPTION πŸ“–

okay so, first thing: ssmtp reads all of its configuration data from /etc/ssmtp/ssmtp.conf πŸ’…

The file is just keyword-argument pairs, one per line. That's the whole format. One per line, no notes.

Lines that start with # are comments, and empty lines count as comments too. So go off β€” annotate that file like it's your diary, nobody's stopping you πŸŽ€

Now, the possible keywords and what they do (heads up bestie: both the keywords and the values are case-insensitive β€” Mailhub, mailhub and MAILHUB are all the same girl, no drama):

  • Root β€” the user who gets all the mail for userids less than 1000. If you leave it blank, address rewriting is disabled. gone. off. 😭
  • Mailhub β€” the host to send mail to, in the form host port | IP_addr port [: port]. The default port is 25. ✨
  • RewriteDomain β€” the domain from which mail seems to come. for user authentication.
  • Hostname β€” the full qualified name of the host. If you don't specify it, the host gets queried for its hostname instead. the machine will simply tell you, periodt.
  • FromLineOverride β€” specifies whether the From header of an email, if any, may override the default domain. The default is "no". πŸ™ˆ
  • UseTLS β€” specifies whether ssmtp uses TLS to talk to the SMTP server. The default is "no".
  • UseSTARTTLS β€” specifies whether ssmtp does an EHLO/STARTTLS before starting SSL negotiation. See RFC 2487 πŸ“œ
  • TLSCert β€” the file name of an RSA certificate to use for TLS, if required.
  • TLSKey β€” the file name of an RSA key to use for TLS, if required. πŸ”‘
  • TLS_CA_File β€” a file of trusted certificates for validating the server, if required.
  • TLS_CA_Dir β€” a directory of trusted certificates for validating the server, if required.
  • VerifyPeer β€” specifies whether ssmtp verifies the peer (server) certificate. πŸ•΅οΈ
  • VerifyPeerName β€” specifies whether ssmtp verifies the peer (server) hostname.
  • AllowSelfSigned β€” specifies whether ssmtp allows self-signed certificates.
  • AuthUser β€” the user name to use for SMTP AUTH. The default is blank, in which case SMTP AUTH is not used. sent without
  • AuthPass β€” the password to use for SMTP AUTH. 🀫
  • AuthMethod β€” the authorization method to use. If it's unset, plain text is used. May also be set to "cram-md5". slay.

πŸ—‚οΈ FILES πŸ—‚οΈ

  • /etc/ssmtp/ssmtp.conf β€” contains configuration data for ssmtp. yes, the file we've been talking about this whole time. the one. the only. πŸ‘‘

πŸ‘€ SEE ALSO πŸ‘€

ssmtp(8) β€” go read that one next bestie, it's the whole other half of the story πŸ¦‹


πŸ’œ AUTHORS πŸ’œ

This page was brought to you by:

  • Matt Ryan (mryan@debian.org)
  • Hugo Haas (hugo@debian.org)
  • Christoph Lameter (clameter@debian.org)
  • Dave Collier-Brown (davecb@hobbes.ss.org)
  • Syed Shahrukh Hussain (syed.shahrukh@ossrevival.org)

And the man page itself was written by Reuben Thomas (rrt@sc3d.org). give them their flowers πŸ’


<div align="center">β€” πŸŽ€ β€”</div>

ngl that's the whole page, you ate it. this was the Debian edition of SSMTP.CONF(5) dated Feb 19, 2026 β€” go configure something cute, k bye πŸ’…βœ¨πŸ«Ά

πŸ“¦ where this page comes from