digplanet beta 1: Athena
Share digplanet:


Applied sciences






















Extended SMTP (ESMTP), sometimes referred to as Enhanced SMTP, is a definition of protocol extensions to the Simple Mail Transfer Protocol standard. The extension format was defined in November 1995 in IETF publication RFC 1869 which established a general structure for all existing and future extensions.

ESMTP defines consistent and manageable means by which ESMTP clients and servers can be identified and servers can indicate supported extensions.


ESMTP is a protocol used to transport internet mail. It is used as both an inter-server transport protocol and (with restricted behavior enforced) a mail submission protocol.

The main identification feature is for ESMTP clients to open a transmission with the command EHLO (Extended HELLO), rather than HELO (Hello, the original RFC 821 standard). A server will respond with success (code 250), failure (code 550) or error (code 500, 501, 502, 504, or 421), depending on its configuration. An ESMTP server would return the code 250 OK in a multi-line reply with its domain and a list of keywords to indicate supported extensions. A RFC 821 compliant server would return error code 500, allowing ESMTP clients to try either HELO or QUIT.

Each service extension is defined in an approved format in subsequent RFCs and registered with the Internet Assigned Numbers Authority (IANA). The first definitions were the RFC 821 optional services - SEND, SOML (Send or Mail), SAML (Send and Mail), EXPN, HELP, and TURN. The format of additional SMTP verbs was set and for new parameters in MAIL and RCPT.

Some relatively common keywords (not all of them corresponding to commands) used today are:

The ESMTP format was restated in RFC 2821 (superseding RFC 821) and updated to the latest definition in RFC 5321 in 2008. Support for the EHLO command in servers became mandatory, and HELO designated a required fallback.

Non-standard, unregistered, service extensions can be used by bilateral agreement, these services are indicated by an EHLO message keyword starting with "X", and with any additional parameters or verbs similarly marked.

SMTP commands are case-insensitive. They are presented here in capitalized form for emphasis only. An SMTP server that requires a specific capitalization method is a violation of the standard.

List of supporting servers[edit]

  • IceWarp
  • Postfix no patches needed for RFC 6531..RFC 6533.
  • Sendmail source code patch necessary for SMTPUTF8 support
  • Exim
  • MailEnable Support only in Enterprise Edition
  • MagicMail Pipe-lining not used, check on the latest status of listed features.


The 8BITMIME extension was standardized in 1994.[2] It facilitates the transparent exchange of e-mail messages containing octets outside the seven-bit ASCII character set. Prior to the availability of 8BITMIME implementations, mail user agents employed several techniques to cope with the seven-bit limitation, such as binary-to-text encodings (including ones provided by MIME) and UTF-7. However, each of these workarounds inflates the required amount of data for transmission of non-ASCII text. Some non-ESMTP servers allowed the sending of 8-bit characters, but it is risky to send such data to a server whose 8-bit capabilities are unknown.

In March 2011, 8BITMIME was published as RFC 6152 corresponding to the then new STD 71.

List of supporting servers[edit]

At least the following servers advertise the 8BITMIME extension:

The following servers can be configured to advertise 8BITMIME, but do not perform conversion of 8-bit data to 7-bit when connecting to non-8BITMIME relays:

  • Exim and qmail do not translate eight-bit messages to seven-bit when making an attempt to relay 8-bit data to non-8BITMIME peers, as is required by the RFC.[5] This does not cause problems in practice, since virtually all modern mail relays are 8-bit clean.[6]
  • Microsoft Exchange Server 2003 advertises 8BITMIME by default, but relaying to a non-8BITMIME peer results in a bounce. This is allowed by RFC 6152 section 3.

As of June 2005, the following servers do not implement the extension:

  • Microsoft Exchange Internet Mail Service (through version 5.5)
  • Netscape Messaging Server 4.15


Remote Message Queue Starting is a feature of SMTP that permits a remote host to start processing of the mail queue on a server so it may receive messages destined to it by sending the TURN command. This feature however was deemed insecure[7] and was extended in ESMTP with the ETRN command which operates more securely using an authentication method based on Domain Name System information.


Main article: SMTP Authentication

The SMTP-AUTH extension provides an access control mechanism. It consists of an authentication step through which the client effectively logs in to the mail server during the process of sending mail. Servers that support SMTP-AUTH can usually be configured to require clients to use this extension, ensuring the true identity of the sender is known. The SMTP-AUTH extension is defined in RFC 4954.

SMTP-AUTH can be used to allow legitimate users to relay mail while denying relay service to unauthorized users, such as spammers. It does not necessarily guarantee the authenticity of either the SMTP envelope sender or the RFC 2822 "From:" header. For example, spoofing, in which one sender masquerades as someone else, is still possible with SMTP-AUTH unless the server is configured to limit message from-addresses to addresses this AUTHed user is authorized for.

The SMTP-AUTH extension also allows one mail server to indicate to another that the sender has been authenticated when relaying mail. In general this requires the recipient server to trust the sending server, meaning that this aspect of SMTP-AUTH is rarely used on the Internet. The recipient of an e-mail message cannot tell whether the sender was authenticated, so use of SMTP-AUTH is only a very partial solution to the problem of spam.

While SMTP-AUTH is a security improvement over unauthenticated SMTP, it won't eliminate all abuse. Common passwords can be guessed in a brute force attack. Even a secure password can be stolen if a user's machine is infected, for example, by insecure web browsing. A good password policy and per-account rate limits on outgoing mail are two very effective countermeasures. Domains that implement these countermeasures for their outgoing mail servers will be much less tempting targets.


The SMTPUTF8 extension allows UTF-8 encoding in mailbox names and header fields. This provides the capability for sending email to internationalized addresses such as Pelé@example.com, δοκιμή@παράδειγμα.δοκιμή, and 测试@测试.测试. This extension is defined in RFC 6531.

List of supporting servers[edit]

  • Postfix (version 3.0 and later)[8]
  • Momentum (versions 4.1[9] and 3.6.5, and later)
  • Sendmail (Under development)

List of supporting local servers[edit]

Local delivery servers (LMTP)

  • None

List of supporting clients[edit]

  • VMime (Under development)
  • Mutt (maybee, not official support, but work)

List of supporting content filters[edit]

See also[edit]


  1. ^ "SMTP Service Extension Parameters". IANA. Retrieved 5 November 2013. 
  2. ^ RFC 1653 - SMTP Service Extension for Message Size Declaration. Tools.ietf.org. Retrieved on 2013-07-17.
  3. ^ James Server - ChangeLog. James.apache.org. Retrieved on 2013-07-17.
  4. ^ 8BITMIME service advertised in response to EHLO on gmail-smtp-in.l.google.com port 25, checked 23 November 2011
  5. ^ Qmail bugs and wishlist. Home.pages.de. Retrieved on 2013-07-17.
  6. ^ The 8BITMIME extension. Cr.yp.to. Retrieved on 2013-07-17.
  7. ^ RFC 1985, SMTP Service Extension for Remote Message Queue Starting, J. De Winter, The Internet Society (August 1996)
  8. ^ "Postfix SMTPUTF8 support is enabled by default", February 8, 2014, postfix.org
  9. ^ "Message Systems Introduces Latest Version Of Momentum With New API-Driven Capabilities" (Press release). 
  10. ^ [1] Amavis 2.10.0 released

External links[edit]

Original courtesy of Wikipedia: http://en.wikipedia.org/wiki/Extended_SMTP — Please support Wikipedia.
This page uses Creative Commons Licensed content from Wikipedia. A portion of the proceeds from advertising on Digplanet goes to supporting Wikipedia.
2676 videos foundNext > 

Simple Mail Transfer Protocol

Simple Mail Transfer Protocol (SMTP) is an Internet standard for electronic mail (e-mail) transmission. First defined by RFC 821 in 1982, it was last updated in 2008 with the Extended SMTP...


A video tutorial on how the application layer protocol,SMTP works. Analyzing the working of SMTP and POP3 extended the team to an extreme, which required extensive research. While doing so,...


MIME (Multi-Purpose Internet Mail Extensions) is an extension of the original Internet e-mail protocol that lets people use the protocol to exchange different kinds of data files on the Internet:...

Access Control list( Extended ACL )

How to create Control list(Extended) by packet tracer (permit pc to communicate with the server in http service and deny it from other service like smtp,ftp,...)

O que é SMTP ?

Video aula geral sobre SMTP, apresentada ao curso de Sistemas Para Internet do IFTM.

KSSWare Extended IP Filter & Monitor Full Download

KSSWare Extended IP Filter & Monitor Full Download Download link: http://bit.ly/1FHqGwa Filter out any IP, UDP, TCP, or ICQ packet using standard Windows filtering functions. KSSWare Extended...

Last Pro Send By Capitan 2015

Download : http://www.mediafire.com/download/e8sazh3gh4o15z4/CaPi-Tan.zip Whenever you send a piece of e-mail, your e-mail client interacts with the SMTP server to handle the sending. The...

CCNA:LAB No# 16 Configuration of Numbered and Named Extended ACL

Uploaded the Packet Tracer file here: https://drive.google.com/file/d/0B3-H4Sw8dzgtblMtZ0w3RTdmUXM/edit?usp=sharing Using the same topology from the previous lab. Objectives: 1) Allow ...

Sonic 2 SMTP - Options - Special Stage - New features

Video showing off the new options mode, some new features/music, and the Special Stage.

How to configure your outgoing mail server in WHM (SMTP) - WHM Service Tutorials

How to configure your outgoing mail server in WHM (SMTP) • Have a secure SMTP is very important. If your server is insecure, it can be very easily exploited by the spammers. • To prevent...

2676 videos foundNext > 

4 news items

Sat, 16 Mar 2013 06:41:15 -0700

SMTP is the standard protocol for delivering electronic mail over the Internet. Secure SMTP connections are known as SMTPS. Electronic mail servers use the SMTP to send and receive mail messages or e-mail, and in user-level applications the SMTP is ...
Thu, 28 Mar 2013 09:41:54 -0700

Why is IMAP disabled in Exchange Server? When does it make sense to use it? Get the answers to those questions and more in this expert response. Sections. Answer; Dig Deeper; More Answers. Share this item with your network: Product ReviewsPowered ...
Mon, 14 Feb 2011 09:17:44 -0800

to register on the server for the domain example.com. EHLO initiates the conversation with the remote server, tells it the host's name, and specifies that the host wants to use the extended SMTP protocol (to use the regular SMTP protocol, use HELO ...
Punto Informatico
Sun, 27 Jun 2004 15:08:59 -0700

Sebbene sia possibile autenticarsi con l'SMTP server se questo server supporti il protocollo Extended-SMTP (E-SMTP) utilizzando apposito comando AUTH, in realtà il 99.999% delle e-mail viene spedita senza autenticazione alcuna, per i seguenti motivi:

Oops, we seem to be having trouble contacting Twitter

Support Wikipedia

A portion of the proceeds from advertising on Digplanet goes to supporting Wikipedia. Please add your support for Wikipedia!

Searchlight Group

Digplanet also receives support from Searchlight Group. Visit Searchlight