扫一扫
分享文章到微信
扫一扫
关注官方公众号
至顶头条
作者:中国IT实验室 来源:中国IT实验室 2009年7月3日
关键字:
在本页阅读全文(共5页)
S: EXPN Example-People
R: 250-
R: 250-Fred Fonebone
R: 250-Xenon Y. Zither
R: 250-Quincy Smith <@USC-ISIF.ARPA:Q-Smith@ISI-VAXA.ARPA>
R: 250-
R: 250
S: QUIT
R: 221 MIT-AI.ARPA Service closing transmission channel
第二步:扩展第二个列表
R: 220 MIT-MC.ARPA Simple Mail Transfer Service Ready
S: HELO SU-SCORE.ARPA
R: 250 MIT-MC.ARPA
S: EXPN Interested-Parties
R: 250-Al Calico
R: 250-
R: 250-Quincy Smith <@USC-ISIF.ARPA:Q-Smith@ISI-VAXA.ARPA>
R: 250-
R: 250
S: QUIT
R: 221 MIT-MC.ARPA Service closing transmission channel
第三步:通过转发主机向包括于两个列表中的所有用户发送邮件
R: 220 USC-ISIE.ARPA Simple Mail Transfer Service Ready
S: HELO SU-SCORE.ARPA
R: 250 USC-ISIE.ARPA
S: MAIL FROM:
R: 250 OK
S: RCPT TO:<@USC-ISIE.ARPA:ABC@MIT-MC.ARPA>
R: 250 OK
S: RCPT TO:<@USC-ISIE.ARPA:Fonebone@USC-ISIQA.ARPA>
R: 250 OK
S: RCPT TO:<@USC-ISIE.ARPA:XYZ@MIT-AI.ARPA>
R: 250 OK
S: RCPT
TO:<@USC-ISIE.ARPA,@USC-ISIF.ARPA:Q-Smith@ISI-VAXA.ARPA>
R: 250 OK
S: RCPT TO:<@USC-ISIE.ARPA:joe@FOO-UNIX.ARPA>
R: 250 OK
S: RCPT TO:<@USC-ISIE.ARPA:xyz@BAR-UNIX.ARPA>
R: 250 OK
S: RCPT TO:<@USC-ISIE.ARPA:fred@BBN-UNIX.ARPA>
R: 250 OK
S: DATA
R: 354 Start mail input; end with
S: Blah blah blah...
S: ...etc. etc. etc.
S: .
R: 250 OK
S: QUIT
R: 221 USC-ISIE.ARPA Service closing transmission channel
转发的情况
R: 220 USC-ISIF.ARPA Simple Mail Transfer Service Ready
S: HELO LBL-UNIX.ARPA
R: 250 USC-ISIF.ARPA
S: MAIL FROM:
R: 250 OK
S: RCPT TO:
R: 251 User not local; will forward to
S: DATA
R: 354 Start mail input; end with
S: Blah blah blah...
S: ...etc. etc. etc.
S: .
R: 250 OK
S: QUIT
R: 221 USC-ISIF.ARPA Service closing transmission channel
第一步:尝试第一台主机上的邮箱
R: 220 USC-ISIF.ARPA Simple Mail Transfer Service Ready
S: HELO LBL-UNIX.ARPA
R: 250 USC-ISIF.ARPA
S: MAIL FROM:
R: 250 OK
S: RCPT TO:
R: 251 User not local; will forward to
S: RSET
R: 250 OK
S: QUIT
R: 221 USC-ISIF.ARPA Service closing transmission channel
第二步:尝试第二台主机上的邮箱
R: 220 USC-ISI.ARPA Simple Mail Transfer Service Ready
S: HELO LBL-UNIX.ARPA
R: 250 USC-ISI.ARPA
S: MAIL FROM:
R: 250 OK
S: RCPT TO:
R: OK
S: DATA
R: 354 Start mail input; end with
S: Blah blah blah...
S: ...etc. etc. etc.
S: .
R: 250 OK
S: QUIT
R: 221 USC-ISI.ARPA Service closing transmission channel
许多接收者的情况
R: 220 BERKELEY.ARPA Simple Mail Transfer Service Ready
S: HELO USC-ISIF.ARPA
R: 250 BERKELEY.ARPA
S: MAIL FROM:
R: 250 OK
S: RCPT TO:
R: 250 OK
S: RCPT TO:
R: 552 Recipient storage full, try again in another transaction
S: DATA
R: 354 Start mail input; end with
S: Blah blah blah...
S: ...etc. etc. etc.
S: .
R: 250 OK
S: MAIL FROM:
R: 250 OK
S: RCPT TO:
R: 250 OK
S: DATA
R: 354 Start mail input; end with
S: Blah blah blah...
S: ...etc. etc. etc.
S: .
R: 250 OK
S: QUIT
R: 221 BERKELEY.ARPA Service closing transmission channel
名词表:
回车
空格
ASCII
美国标准信息交换码
主机
拥有SMTP进程或邮箱的网络计算机
发送SMTP进程
与接收SMTP进程一起工作的进程。发送SMTP开始传输服务连接,它发出SMTP命令,接收应答,管理邮件的传送
用户
希望获得邮件服务的人(或以人的名义出现的进程),还有就是邮件的接收者。
会话
当传输信道打开时进行的一系列信息交换
传输服务
可靠的面向流的数据通信服务。例如:NCP,TCP,NITS。
传输信道
在发送SMTP和接收SMTP之间建立的全双工的用于交换命令,应答和邮件内容的信道
字符
可显示字符串
行
以一个
应答
接收SMTP对发送SMTP的通过传输信道发送的的对某一命令的(成功或不成功的)响应。应答的一般格式是应答码加一段文本。通常情况下,应答码供机器使用,而文本用于人类用户使用
邮件内容
一系列的字符串,它们符合ARPA Internet文本信息格式标准的标准字符集
邮件内容结束标记
标明邮件内容结束的特定字符
邮箱
指定应该向何处发向用户的信件的地址(字符串)。它通常由用户名和主机名表示
命令
由发送SMTP发送到接收SMTP的要求一个邮件服务操作的请求
域
邮件系统中主机地址字符串的层次式表示
接收SMTP进程
与发送SMTP进程一起工作的进程。它等待通过传输服务建立的连接。它接收发送SMTP发出的命令,给出应答并执行相应的操作
操作
一个信息由一个接收者发送到另一个或多个接收者的一系列操作
参考资料
[1] ASCII
ASCII, "USA Code for Information Interchange", United States of
America Standards Institute, X3.4, 1968. Also in: Feinler, E.
and J. Postel, eds., "ARPANET Protocol Handbook", NIC 7104, for
the Defense Communications Agency by SRI International, Menlo
Park, California, Revised January 1978.
[2] RFC 822
Crocker, D., "Standard for the Format of ARPA Internet Text
Messages," RFC 822, Department of Electrical Engineering,
University of Delaware, August 1982.
[3] TCP
Postel, J., ed., "Transmission Control Protocol - DARPA Internet
Program Protocol Specification", RFC 793, USC/Information Sciences
Institute, NTIS AD Number A111091, September 1981. Also in:
Feinler, E. and J. Postel, eds., "Internet Protocol Transition
Workbook", SRI International, Menlo Park, California, March 1982.
[4] NCP
McKenzie,A., "Host/Host Protocol for the ARPA Network", NIC 8246,
January 1972. Also in: Feinler, E. and J. Postel, eds., "ARPANET
Protocol Handbook", NIC 7104, for the Defense Communications
Agency by SRI International, Menlo Park, California, Revised
January 1978.
[5] Initial Connection Protocol
Postel, J., "Official Initial Connection Protocol", NIC 7101,
11 June 1971. Also in: Feinler, E. and J. Postel, eds., "ARPANET
Protocol Handbook", NIC 7104, for the Defense Communications
Agency by SRI International, Menlo Park, California, Revised
January 1978.
[6] NITS
PSS/SG3, "A Network Independent Transport Service", Study Group 3,
The Post Office PSS Users Group, February 1980. Available from
the DCPU, National Physical Laboratory, Teddington, UK.
August 1982 RFC 821
Simple Mail Transfer Protocol
[7] X.25
CCITT, "Recommendation X.25 - Interface Between Data Terminal
Equipment (DTE) and Data Circuit-terminating Equipment (DCE) for
Terminals Operating in the Packet Mode on Public Data Networks,"
CCITT Orange Book, Vol. VIII.2, International Telephone and
Telegraph Consultative Committee, Geneva, 1976.
RFC821 SIMPLE MAIL TRANSFER PROTOCOL RFC821 简单邮件传输协议(SMTP)
1
1
RFC文档中文翻译计划
如果您非常迫切的想了解IT领域最新产品与技术信息,那么订阅至顶网技术邮件将是您的最佳途径之一。
现场直击|2021世界人工智能大会
直击5G创新地带,就在2021MWC上海
5G已至 转型当时——服务提供商如何把握转型的绝佳时机
寻找自己的Flag
华为开发者大会2020(Cloud)- 科技行者