AERC-SMTP(5)
π AERC-SMTP π
okay bestie, so this is the aerc-smtp page β it's a File Formats Manual entry, and it's literally all about how you point aerc(1) at your SMTP server so your mail actually goes out. no cap, it's the glow-up guide for your outgoing mail β¨
β¨ SYNOPSIS β¨
aerc implements the SMTP protocol as specified by RFC 5321. that's it, that's the whole vibe π
πΈ CONFIGURATION πΈ
so the basic SMTP setup can be done interactively with the :new-account command β like, the app literally walks you through it, super cute π«Ά
in accounts.conf (peep aerc-accounts(5) for the deets), these SMTP-specific options are available:
outgoing =
<scheme>[+<auth>]://<username>[:<password>]@<hostname>[:<port>]?[<oauth2_params>]
bestie. remember that all fields must be URL encoded. the @ symbol, when URL encoded, is %40. don't forget or it's giving broken config π
the value of <scheme> can be:
smtpβ SMTP with STARTTLS π₯smtp+insecureβ SMTP without STARTTLS πsmtpsβ SMTP with TLS/SSL πsmtps+insecureβ SMTP with TLS/SSL, skipping certificate verification. (iykyk, that's a spicy one π)
additionally, you can specify an authentication mechanism like so:
noneβ no authentication is required to use this SMTP server. you may omit the username and password in this case. slay, minimal effort πplainβ authenticate with a username and password usingAUTH PLAIN. this is the default behavior. periodt.loginβ authenticate with a username and password usingAUTH LOGIN. this is an obsolete protocol, but is required for some common webmail providers. it's giving legacy but we still love her πoauthbearerβ SMTP with TLS/SSL using OAUTHBEARER Authentication. see documentation inaerc-imap(5)for usage π¦xoauth2β SMTP with TLS/SSL using XOAUTH2 Authentication. see documentation inaerc-imap(5)for usage π§
outgoing-cred-cmd = <command>β specifies the command to run to get the password for the SMTP account. this command will be run usingsh -c [command]. if a password is specified in theoutgoingoption, the password will take precedence over this command. lowkey important π
example:
outgoing-cred-cmd = pass hostname/username
smtp-domain = <domain>β local domain name to use in theHELO/EHLOSMTP command. set this to a fully qualified domain name if the server requires it as an antispam measure. (some servers are so picky, honestly π )
Default: localhost
ngl, that smtp-domain one gets people tripped up all the time β if your server's being a hater about antispam checks, this is your girl π
π¦ SEE ALSO π¦
like, go read those too, they're the main characters of this friend group π
π AUTHORS π
originally created by Drew DeVault and maintained by Robin Jarry who is assisted by other open source contributors. for more information about aerc development, see https://sr.ht/~rjarry/aerc/. obsessed with them fr fr π
π and that's the tea, bestie β this page dropped 2026-09-07 and it's AERC-SMTP(5) all day, every day. go send some mail, you icon β¨π
π¦ where this page comes from
- arch rolling: aerc 0.22.0-1 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms