31.07.2015 Views

network protocols handbook.pdf

network protocols handbook.pdf

network protocols handbook.pdf

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

36Protocols GuideTCP/IP - Application Layer ProtocolsProtocol NameSMTP: Simple Mail TransferProtocolProtocol DescriptionSimple Mail Transfer Protocol (SMTP) is a protocol designed totransfer electronic mail reliably and efficiently. SMTP is a mailservice modeled on the FTP file transfer service. SMTP transfersmail messages between systems and provides notificationregarding incoming mail.SMTP is independent of the particular transmission subsystemand requires only a reliable ordered data stream channel. An importantfeature of SMTP is its capability to transport mail across<strong>network</strong>s, usually referred to as “SMTP mail relaying”. A <strong>network</strong>consists of the mutually-TCP-accessible hosts on the public Internet,the mutually-TCP-accessible hosts on a firewall-isolatedTCP/IP Intranet, or hosts in some other LAN or WAN environmentutilizing a non-TCP transport-level protocol. Using SMTP,a process can transfer mail to another process on the same <strong>network</strong>or to some other <strong>network</strong> via a relay or gateway processaccessible to both <strong>network</strong>s.In this way, a mail message may pass through a number of intermediaterelay or gateway hosts on its path from sender toultimate recipient. The Mail eXchanger mechanisms of the domainname system are used to identify the appropriate next-hopdestination for a message being transported.Protocol StructureSMTP commands are ASCII messages sent between SMTPhosts. Possible commands are as follows:Related <strong>protocols</strong>POP3, IMAP4, TCP, POP, FTPSponsor SourceSMTP is defined by IETF (http://www.ietf.org) in RFC 2821.Referencehttp://www.javvin.com/protocol/rfc2821.<strong>pdf</strong>Simple Mail Transfer ProtocolCommandDATAEXPN HELO HELP MAIL FROM NOOPQUITRCPT TO RSETSAML FROM SEND FROM SOML FROM TURNVRFY DescriptionBegins message composition.Returns names on the specified mail list.Returns identity of mail server.Returns information on the specified command.Initiates a mail session from host.Causes no action, except acknowledgementfrom server.Terminates the mail session.Designates who receives mail.Resets mail connection.Sends mail to user terminal and mailbox.Sends mail to user terminal.Sends mail to user terminal or mailbox.Switches role of receiver and sender.Verifies the identity of a user.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!