Local Mail Transfer Protocol

The Local Mail Transfer Protocol (LMTP) is an alternative to (Extended) Simple Mail Transfer Protocol for situations where the receiving side does not have a mail queue, such as a message transfer agent acting as a message delivery agent. LMTP was described in RFC 2033 in 1996.[1]

## Overview

Mail queues are an inherent requisite of SMTP. In situations in which mail queues are not possible, LMTP is desirable, since a mail storage server should manage only its mail store without having to allocate more storage for a mail queue. This is not possible with SMTP when there are multiple recipients for a mail message. SMTP can only indicate successful delivery or failure for all or none of the recipients, creating the need for a separate queue to handle the failed recipients.

LMTP, on the other hand, can indicate success or failure to the client for each recipient, allowing the client to handle the queueing instead. The client in this case would typically be an Internet-facing mail gateway. LMTP is not intended for use over wide area networks. In other words, the message transfer agent (MTA) still handles all outgoing mail, including the mail stream from the LMTP, to another mail server located somewhere on the Internet.

LMTP is an Application Layer protocol of the Internet Protocol Suite. It can use a Transmission Control Protocol (TCP) transport like SMTP, but must not use port number 25, the well-known port for SMTP. Usage of port 24 ("any private mail system") is common among some mail server applications however.[2]

## Differences from SMTP

LMTP conversation syntax is based on the same commands as SMTP (formerly called Extended SMTP) with the following exceptions:[1]

* LMTP must not be used on port 25, reserved for SMTP
* LMTP uses `LHLO` verb instead of `EHLO` or `HELO` used in SMTP
* ESMTP requires a single status for the entire message body. LMTP requires a response for each previously successful RCPT command. That is, in case of multiple recipients, after the body of the message has been transmitted, LMTP can still fail for some recipient while succeeding for the others. With this facility, LMTP can fail if a user is over quota without the burden of generating bounce messages.

The key difference is that LMTP will reject a message for a specific final recipient if it is not immediately deliverable. This removes the need for a mail queue. For this reason, LMTP is not run on the standard TCP port of SMTP.

## References

1. ↑ 1.0 1.1 Myers, J.. "Local Mail Transfer Protocol" (in en). https://tools.ietf.org/html/rfc2033.html.
2. ↑ Venema, Wietse. "Postfix manual - smtp(8)". LMTP DESTINATION SYNTAX. p. 2. http://www.postfix.org/lmtp.8.html.

* v
* t
* e

Email clients

Free software|

| Current|

* aerc
* Alpine
* Balsa
* Citadel/UX
* Claws Mail
* Cleancode eMail
* Cone
* Evolution
* fetchmail
* fdm
* Geary
* getmail
* GNUMail
* Gnus
* Gnuzilla
* IMP
* KMail
* Mahogany
* Mailpile
* Mailx
* Mailx (Heirloom Project)
* Modest
* Mozilla Thunderbird
* Mulberry
* Mutt
* nmh / MH
* OfflineIMAP
* Roundcube
* SeaMonkey
* SquirrelMail
* Sylpheed
* Trojitá
* YAM
* Zimbra

|

Discontinued|

* Arachne
* Beonex Communicator
* BlitzMail
* Classilla
* Columbia MM
* Elm
* Eudora
* FossaMail
* Hula
* Mailody
* Mozilla Mail & Newsgroups
* Nylas N1
* Spicebird

Proprietary|

| Freeware|

* eM Client
* EmailTray
* Foxmail
* i.Scribe
* Mailbird
* Opera Mail
* Spark
* TouchMail

|

Retail|

* Hiri
* Bloomba/WordPerfect Mail
* Newton
* IBM Notes
* InScribe
* Apple Mail
* Mail (Windows)
* Microsoft Outlook
* Novell GroupWise
* Airmail
* Postbox

Shareware|

* Becky!
* Eureka Email
* Forté Agent
* GyazMail
* The Bat!

Donationware|

* Pegasus Mail

Discontinued|

* Mail
* Claris Emailer
* Courier
* Cyberdog
* Cyberjack
* Embrowser
* Mailbox
* Microsoft Entourage
* Microsoft Internet Mail and News
* MINUET
* Netscape Mail
* Netscape Messenger 9
* NeXTMail
* Outlook Express
* Pine
* Pocomail
* POPmail
* Sparrow
* Turnpike
* WebSpyder
* Windows Live Mail
* Windows Mail
* Windows Messaging

Related technologies|

* Extended SMTP
* LMTP
* IMAP
* POP
* Push-IMAP
* SMAP
* SMTP
* UUCP

Related topics|

* Email
* Unicode and email

* Category
* Comparison

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/Local Mail Transfer Protocol. Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Local_Mail_Transfer_Protocol&oldid=255062"
*[v]: View this template
*[t]: Discuss this template
*[e]: Edit this template