ESMTP(1)
π ESMTP(1) β the sendmail-adjacent bestie, from the General Commands Manual π
okay so. sit down. hydrate. we're talking about esmtp, and honestly? she's that girl. π
β¨ NAME β¨
esmtp β the libESMTP-to-Sendmail compatibility interface, aka the little translator between your mail setup and everyone else's expectations π¦
β¨ SYNOPSIS β¨
esmtp [flags] [address ...]
sendmail [flags] [address ...]
mailq
sendmail -bp
newaliases
sendmail -bi
β¨ DESCRIPTION β¨
So like. esmtp is a send-only sendmail emulator. send-only!! she does not receive, she does not host, she does not want that kind of responsibility. π
She's built for machines that normally pull their mail down from a centralized mailhub using programs like fetchmail. That's the whole vibe. Fetch it down, hand it off, done. π«Ά
And lowkey, she is not trying to be sendmail. Not even a little. Esmtp does not attempt to provide all the functionality of sendmail β she's just here to be used by mail user agents like mutt. That's the job. That's the assignment. Periodt. β¨
β¨ OPTIONS β¨
Bestie, real talk: most sendmail options are irrelevant to esmtp. Like, they're on the guest list but they're not coming.
Here's the key so you don't get confused:
- options marked
ignored''</yellow> or <yellow>default'' β literally no effect on mail transfer, she's just nodding politely π - options marked ``unsupported'' β fatal errors. she will not nod politely. she will throw hands. π
Now the full list, no skips, no cuts: π
-Ac(ignored) β Usesubmit.cfeven if the operation mode does not indicate an initial mail submission.-Am(ignored) β Usesendmail.cfeven if the operation mode indicates an initial mail submission.-Btype β Set the body type to type. Current legal values are7BITor8BITMIME.-ba(unsupported) β Go into ARPANET mode. π« fatal.-bd(unsupported) β Run as a daemon. she said no π«-bD(unsupported) β Same as-bdexcept runs in foreground. still no π«-bh(unsupported) β Print the persistent host status database. π«-bH(unsupported) β Purge expired entries from the persistent host status database. π«-bi(ignored) β Initialize the alias database.-bm(default) β Deliver mail in the usual way. the classic. the standard. the moment. π-bpβ Print a listing of the queue(s).-bP(unsupported) β Print number of entries in the queue(s); only available with shared memory support. π«-bs(unsupported) β Use the SMTP protocol as described in RFC821 on standard input and output. π«-bt(unsupported) β Run in address test mode. π«-bv(unsupported) β Verify names only - do not try to collect or deliver a message. π«-Cfile β Use alternate configuration file.-dX (ignored) β Set debugging value to X.-Ffullname β Set the full name of the sender.-fname β Sets the name of the ``from'' person (i.e., the envelope sender of the mail). This address may also be used in theFrom:header if that header is missing during initial submission. The envelope sender address is used as the recipient for delivery status notifications and may also appear in aReturn-Path:header. Also β and this is the fun part β this address is also used to select from different identities in the configuration file. β¨ And if no envelope sender is specified on the command line, then the default identity's address is used. simple as that π-G(ignored) β Relay (gateway) submission of a message.-hN (ignored) β Set the hop count to N.-I(ignored) β Same as-bi.-i(ignored) β Ignore dots alone on lines by themselves in incoming messages. This should be set if you are reading data from a file.-Ltag (ignored) β Set the identifier used in syslog messages to the supplied tag.-Ndsn β Set delivery status notification conditions to dsn, which can benever'' for no notifications, or a comma separated list of the valuesfailure'' to be notified if delivery failed,delay'' to be notified if delivery is delayed, andsuccess'' to be notified when the message is successfully delivered.-n(default) β Don't do aliasing.-Ooption=value (ignored) β Set option to the specified value. This form uses long names.-ox value (ignored) β Set option x to the specified value. This form uses single character names only.-pprotocol (ignored) β Set the name of the protocol used to receive the message.-q[time] (ignored) β Process saved messages in the queue at given intervals.-qp[time] (ignored) β Similar to-qtime, except that instead of periodically forking a child to process the queue, forks a single persistent child for each queue that alternates between processing the queue and sleeping.-qf(ignored) β Process saved messages in the queue once and do notfork(), but run in the foreground.-qGname (ignored) β Process jobs in queue group called name only.-q[!]Isubstr (ignored) β Limit processed jobs to those containing substr as a substring of the queue id, or not when!is specified.-q[!]Rsubstr (ignored) β Limit processed jobs to those containing substr as a substring of one of the recipients, or not when!is specified.-q[!]Ssubstr (ignored) β Limit processed jobs to those containing substr as a substring of the sender, or not when!is specified.-Rreturn β Set the amount of the message to be returned if the message bounces. The return parameter can befull'' to return the entire message orhdrs'' to return only the headers. In the latter case also local bounces return only the headers.-rname β An alternate and obsolete form of the-fflag. π΅-tβ Read message for recipients.To:,Cc:, andBcc:lines will be scanned for recipient addresses. TheBcc:line will be deleted before transmission.-Venvid β Set the original envelope id.-vβ Go into verbose mode. she will tell you EVERYTHING π£οΈ-Xlogfile β Log all traffic in and out of mailers in the indicated logfile.--β Stop processing command flags and use the rest of the arguments as addresses.
β¨ FILES β¨
~/.esmtprcβ User configuration file. Only read if no configuration file is specified on the command line./etc/esmtprcβ System configuration file. Only read if no configuration file is specified on the command line and there is no user configuration file.
okay the ordering here matters bestie: your own ~/.esmtprc gets read first, and the system one only steps in if you didn't name a config file AND you don't have a user config. hierarchy. we respect it. π
β¨ SEE ALSO β¨
esmtprc(5), fetchmail(1) π
β¨ AUTHOR β¨
JosΓ© Fonseca β the icon, the legend, the moment πβ¨
and that's the whole page, bestie!! this was ESMTP(1), from the General Commands Manual, and she's giving exactly what she needs to give. go send some mail. slay. πππ¦
π¦ where this page comes from
- debian bookworm: esmtp 1.2-18+b1 Β· GPL-2.0-only WITH OpenSSL exception
- debian trixie: esmtp 1.2-19 Β· GPL-2.0-only WITH OpenSSL exception
- ubuntu jammy: esmtp 1.2-18 Β· GPL-2.0-only WITH OpenSSL exception
- ubuntu noble: esmtp 1.2-18 Β· GPL-2.0-only WITH OpenSSL exception
- ubuntu questing: esmtp 1.2-19
- ubuntu resolute: esmtp 1.2-19build1 Β· GPL-2.0-only WITH OpenSSL exception
- ubuntu stonking: esmtp 1.2-19build1 Β· GPL-2.0-only WITH OpenSSL exception
- Copyright (c) 1998-2002 Sendmail, Inc. and its suppliers
- Copyright (c) 1983, 1997 Eric P. Allman. All rights reserved
- Copyright (c) 1988, 1991, 1993 The Regents of the University of California. All rights reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms