smtp server



smtp

smtp

The five layer TCP/IP model
5. Application layer

DHCP • DNS • FTP • HTTP • IMAP4 • IRC • MIME • POP3 • SIP • SMTP • SNMP • SSH • TELNET • BGP • RPC • RTP • RTCP • TLS/SSL • SDP • SOAP • L2TP • PPTP • …

4. Transport layer

TCP • UDP • DCCP • SCTP • GTP • …

3. Network layer

IP (IPv4 • IPv6) • ARP • RARP • ICMP • IGMP • RSVP • IPSec • …

2. Data link layer

ATM • DTM • Ethernet • FDDI • Frame Relay • GPRS • PPP • …

1. Physical layer

Ethernet physical layer • ISDN • Modems • PLC • RS232 • SONET/SDH • G.709 • Wi-Fi • …

This box: view  talk  edit

Simple Mail Transfer Protocol (SMTP) is the de facto standard for e-mail transmissions across the Internet. Formally SMTP is defined in RFC 821 (STD 10) as amended by RFC 1123 (STD 3) chapter 5. The protocol used today is also known as ESMTP and defined in RFC 2821.

Contents

  • 1 History
    • 1.1 Developers
  • 2 Sample communications
  • 3 Security and spamming
  • 4 Related Requests For Comments (RFCs)
  • 5 See also
  • 6 External links
    • 6.1 cr.yp.to links
    • 6.2 Other links

History

SMTP is a relatively simple, text-based protocol, where one or more recipients of a message are specified (and in most cases verified to exist) and then the message text is transferred. It is quite easy to test an SMTP server using the telnet program (see below).

SMTP uses TCP port 25. To determine the SMTP server for a given domain name, the MX (Mail eXchange) DNS record is typically used, falling back to a simple A record in the case of no MX (not all MTAs (Mail Transfer Agents) support fallback). Some current mail transfer agents will also use SRV records, a more general form of MX, though these are not widely adopted.

SMTP started becoming widely used in the early 1980s. At the time, it was a complement to UUCP (Unix to Unix CoPy) which was better suited to handle e-mail transfers between machines that were intermittently connected. SMTP, on the other hand, works best when both the sending and receiving machines are connected to the network all the time.

The article about sender rewriting contains technical background info about the early SMTP history and source routing before RFC 1123 (1989, obsoleted by RFC 2821).

Sendmail was one of the first (if not the first) mail transfer agent to implement SMTP. As of 2001 there are at least 50 programs that implement SMTP as a client (sender of messages) or a server (receiver of messages). Some other popular SMTP server programs include Postfix, qmail, Novell GroupWise, Exim, Novell NetMail and Microsoft Exchange Server.

Since this protocol started out as purely ASCII text-based, it did not deal well with binary files. Standards such as Multipurpose Internet Mail Extensions MIME were developed to encode binary files for transfer through SMTP. MTAs developed after sendmail also tended to be implemented 8-bit-clean, so that the alternate "just send eight" strategy could be used to transmit arbitrary data via SMTP. Non-8-bit-clean MTAs today tend to support the 8BITMIME extension, permitting binary files to be transmitted almost as easily as plain text.

SMTP is a "push" protocol that does not allow one to "pull" messages from a remote server on demand. To do this a mail client must use POP3 or IMAP. Another SMTP server can trigger a delivery in SMTP using ETRN.

Developers

Many people edited or contributed to the core SMTP specifications, among them Jon Postel, Eric Allman, Dave Crocker, Ned Freed, Randall Gellens, John Klensin, and Keith Moore.

Sample communications

After establishing a connection between the sender (the client) and the receiver (the server), the following is a legal SMTP session. In the following conversation, everything sent by the client is prefaced with C: and everything sent by the server is prefaced with S:. On most computer systems, a connection can be established using the telnet command on the client machine, for example.

telnet www.example.com 25

which opens a TCP connection from the sending machine to the MTA listening on port 25 on host www.example.com.

S: 220 www.example.com ESMTP Postfix
C: HELO mydomain.com
S: 250 Hello mydomain.com
C: MAIL FROM:<sender@mydomain.com>
S: 250 Ok
C: RCPT TO:<friend@example.com>
S: 250 Ok
C: DATA
S: 354 End data with <CR><LF>.<CR><LF>
C: Subject: test message
C: From: sender@mydomain.com
C: To: friend@example.com
C:
C: Hello,
C: This is a test.
C: Goodbye.
C: .
S: 250 Ok: queued as 12345
C: QUIT
S: 221 Bye

Although optional and not shown above, nearly all clients ask the server which SMTP extensions the server supports, by using the EHLO greeting to invoke Extended SMTP (ESMTP). These clients use HELO only if the server does not respond to EHLO.

Contemporary clients will use the ESMTP extension keyword SIZE to inquire of the server the maximum message size that will be accepted. Older clients and servers will try to transfer huge messages that will be rejected after wasting the network resources, including a lot of connect time to dialup ISPs that are paid by the minute.

For the edit planning of giant files or sending with older clients, users can manually determine in advance the maximum size accepted by ESMTP servers. The user telnets as above, but substitutes "EHLO mydomain.com" for the HELO command line.

S: 220-serverdomain.com ESMTP {postfix version and date}
S: 220 NO UCE. {etc., terms of service}
C: EHLO mydomain.com
S: 250-serverdomain.com Hello mydomain.com [127.0.0.1]
S: 250-SIZE 14680064
S: 250-PIPELINING
S: 250 HELP

This serverdomain.com declares that it will accept a fixed maximum message size no larger than 14,680,064 octets (8-bit bytes). Depending on the server's actual resource usage, it may be currently unable to accept a message this large.

In the simplest case, an ESMTP server will declare a maximum SIZE with only the EHLO user interaction. If no number appears after the SIZE keyword, or if the current message limit must be exactly determined, the user can further interact by simulating the ESMTP header of a message with an estimated size. See External Link RFC 1870 below.

Security and spamming

Main article: Anti-spam techniques (e-mail)

One of the limitations of the original SMTP is that it has no facility for authentication of senders. Therefore the SMTP-AUTH extension was defined. However, the impracticalities of widespread SMTP-AUTH implementation and management means that E-mail spamming is not and cannot be addressed by it.

Modifying SMTP extensively, or replacing it completely, is not believed to be practical, due to the network effects of the huge installed base of SMTP. Internet Mail 2000 is one such proposal for replacement.

Spam is enabled by several factors, including vendors implementing broken MTAs (that do not adhere to standards, and therefore make it difficult for other MTAs to enforce standards), security vulnerabilities within the operating system (often exacerbated by always-on broadband connections) that allow spammers to remotely control end-user PCs and cause them to send spam, and a regrettable lack of "intelligence" in many MTAs still a major problem.

There are a number of proposals for sideband protocols that will assist SMTP operation. The Anti-Spam Research Group (ASRG) of the Internet Research Task Force (IRTF) is working on a number of E-mail authentication and other proposals for providing simple source authentication that is flexible, lightweight, and scalable. Recent Internet Engineering Task Force (IETF) activities include MARID (2004) leading to two approved IETF experiments in 2005, and DomainKeys Identified Mail in 2006.

Related Requests For Comments (RFCs)

  • RFC 1870 SMTP Service Extension for Message Size Declaration (оbsoletes: RFC 1653)
  • RFC 2505 Anti-Spam Recommendations for SMTP MTAs (BCP 30)
  • RFC 2554 SMTP Service Extension for Authentication
  • RFC 2821 The Simple Mail Transfer Protocol (obsoletes RFC 821 aka STD 10, RFC 974, and RFC 1869)
  • RFC 2822 Internet Message Format (obsoletes RFC 822 aka STD 11)
  • RFC 2920 SMTP Service Extension for Command Pipelining (STD 60)
  • RFC 3030 SMTP Service Extensions for Transmission of Large and Binary MIME Messages
  • RFC 3207 SMTP Service Extension for Secure SMTP over Transport Layer Security (obsoletes RFC 2487 )
  • RFC 3461 SMTP Service Extension for Delivery Status Notifications (obsoletes RFC 1891 )
  • RFC 3462 The Multipart/Report Content Type for the Reporting of Mail System Administrative Messages (obsoletes RFC 1892 )
  • RFC 3463 Enhanced Status Codes for SMTP (obsoletes RFC 1893 )
  • RFC 3464 An Extensible Message Format for Delivery Status Notifications (obsoletes RFC 1894 )
  • RFC 3552 Guidelines for Writing RFC Text on Security Considerations (contains SMTP example)
  • RFC 3834 Recommendations for Automatic Responses to Electronic Mail
  • RFC 4409 Message Submission for Mail (obsoletes RFC 2476 )

smtp news and smtp articles

Here's our top rated smtp links for the day:

Appliance evaluates and reports web vulnerabilities. 

ThomasNet - Feb 09 5:32 AM
Designed to fit transparently at network entrance, eSafe Web Threat Analyzer collects information on web threats that pass through organization's defenses. Appliance then provides detailed set of 20 different activity reports and audit summary highlighting important threats and problematic activities. Tool monitors all HTTP traffic, including all web browsing, web site access, inbound/outbound ...

Review: Swyx Swyxware Compact VoIP software 
Personal Computer World - Feb 09 4:47 AM
Swyxware is software that lets you build an IP PBX (private branch exchange) using an industry-standard PC running Microsoft Windows.

Windows Mobile 6 Conference Call Notes 
Pocket PC Thoughts - Feb 08 6:51 PM
I was able to participate in a conference call today about Windows Mobile 6 with some people from Microsoft (and my fellow Mobius members). Windows Mobile 6 has a lot of changes over the previous version, but they're not all easily summed up in a few bullet points. Below are my notes from the call, and what I think about the new features that were discussed. Overall, I left the call feeling quite ...

Thank you for viewing the smtp page smtp. 

 

Ever wondered what others are searching for in relation to smtp? Now you can see.  Below is a listing of  what everyone else is searching for in regard to smtp.

1. smtp
2. smtp server
3. bypass blocked port 25 smtp
4. smtp relay
5. free smtp server
6. d-link smtp server
7. smtp commands
8. crystal delivery smtp
9. smtp communication error with recipients email server
10. smtp hack
11. smtp services
12. verizon broadband access smtp notebook
13. smtp port
14. free smtp
15. test for smtp open relay
16. smtp servers
17. tcp port smtp
18. smtp email delphi
19. outbound smtp traffic
20. free po3 smtp email address
21. smtp alternative
22. imail smtp service fails
23. what is smtp
24. smtp comcast
25. earthlink port 587 smtp error
26. comcast smtp
27. hotmail smtp
28. iis smtp server not working
29. freeware smtp server
30. exchange, smtp connector
31. csvde export smtp
32. smtp port number
33. sky broadband pop smtp settings
34. smtp service
35. yahoo smtp host
36. smtp ports
37. outgoing smtp email server
38. aol smtp
39. multiple virtual smtp connections
40. free pop3 and smtp server
41. find owner with search engine on smtp id4453295d1c
42. free smtp service
43. free smtp mail server
44. smtp id 6f204f839c
45. smtp 554 error
46. smtp filtering
47. smtp proxy server
48. vb6 smtp control
49. yahoo smtp server
50. trixbox smtp authentication
51. test smtp
52. smtp withou exchange server
53. isp blocking smtp
54. earthlink smtp server
55. delivery receipt requested smtp server
56. send mail smtp
57. formating an smtp message
58. comcast smtp server
59. online smtp tools
60. free smtp relay server
61. multiple smtp connections
62. how to monitor your smtp connectivity
63. smtp headers
64. smtp relaying
65. smtp finder
66. smtp internals
67. smtp authentication
68. smtp server for bt broadband
69. smtp auth
70. smtp error codes
71. stopped pipeline smtp messages
72. symantec smtp gateway
73. telnet e-mail auth login smtp
74. why can you not use different isp smtp to send mail
75. smtp 503 error
76. smtp test
77. smtp server russia
78. smtp service service email
79. smtp server gateway
80. open relay smtp servers
81. encode attachment smtp mime
82. free anonymous smtp relay server
83. postoffice smtp sheet
84. delivery message recipient rejected remote server smtp
85. delivery message mta315.mail.re4.yahoo.com smtp failed
86. buy unlimited smtp
87. cogentco smtp servers
88. free pop3 smtp email
89. free pop smtp
90. free smtp servers
91. open smtp relay server
92. monitor smtp traffic
93. msn smtp advice
94. internet smtp server
95. gmail smtp
96. how do i telnet to smtp
97. aol smtp settings
98. anonymous internet smtp server
99. .net smtp authentication
100. 4.4.7 smtp