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 formhost port | IP_addr port [: port]. The default port is25. β¨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 theFromheader of an email, if any, may override the default domain. The default is"no". πUseTLSβ specifies whetherssmtpuses TLS to talk to the SMTP server. The default is"no".UseSTARTTLSβ specifies whetherssmtpdoes anEHLO/STARTTLSbefore 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 whetherssmtpverifies the peer (server) certificate. π΅οΈVerifyPeerNameβ specifies whetherssmtpverifies the peer (server) hostname.AllowSelfSignedβ specifies whetherssmtpallows 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 withoutAuthPassβ 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 forssmtp. 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
- ubuntu stonking: ssmtp 2.66-1build1 Β· GPL-2.0-or-later
- Copyright 2004 Reuben Thomas, 2026 Syed Shahrukh Hussain
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms