标 题: POP和SMTP指令集
发信站: BBS 水木清华站 (Sun Aug 11 14:22:12 2002)
【 以下文字转载自 Internet 讨论区 】
发信人: Boyem (Boyem), 信区: Internet
标 题: POP和SMTP指令集
发信站: BBS 水木清华站 (Sun Oct 29 00:21:53 2000)
POP3指令:
user name输入用户名
pass ****输入密码
stat 看总共多少封信件,多少字节
list 列出每封信件的字节数
retr n 读第n封信
rset 重置
uidl n down第n封信
top n m 读第n封信的信头,但我不知道m是什么意思,通常令m=1
dele n 删除第n封信
noop 是空指令,防止被服务器踢线。
last 是查看被取走的邮件的最高序数。
quit 退出
###########################################################
SMTP指令:(懒得写了,直接从服务器上copy了一把)
220 xxxx.xxxx.edu.cn ESMTP Sendmail 8.9.3/8.8.7; Sat, 28 Oct 2000 19:14:09 +0800
help
214-This is Sendmail version 8.9.3
214-Topics:
214- HELO EHLO MAIL RCPT DATA
214- RSET NOOP QUIT HELP VRFY
214- EXPN VERB ETRN DSN
214-For more info use "HELP
214-To report bugs in the implementation send email to
214- sendmail-bugs@sendmail.org.
214-For local information send email to Postmaster at your site.
214 End of HELP info
help helo
214-HELO
214- Introduce yourself.
214 End of HELP info
help ehlo
214-EHLO
214- Introduce yourself, and request extended SMTP mode.
214-Possible replies include:
214- SEND Send as mail [RFC821]
214- SOML Send as mail or terminal [RFC821]
214- SAML Send as mail and terminal [RFC821]
214- EXPN Expand the mailing list [RFC821]
214- HELP Supply helpful information [RFC821]
214- TURN Turn the operation around [RFC821]
214- 8BITMIME Use 8-bit data [RFC1652]
214- SIZE Message size declaration [RFC1870]
214- VERB Verbose [Allman]
214- ONEX One message transaction only [Allman]
214- CHUNKING Chunking [RFC1830]
214- BINARYMIME Binary MIME [RFC1830]
214- PIPELINING Command Pipelining [RFC1854]
214- DSN Delivery Status Notification [RFC1891]
214- ETRN Remote Message Queue Starting [RFC1985]
214- XUSR Initial (user) submission [Allman]
214 End of HELP info
help mail
214-MAIL FROM:
214- Specifies the sender. Parameters are ESMTP extensions.
214- See "HELP DSN" for details.
214 End of HELP info
help rcpt
214-RCPT TO:
214- Specifies the recipient. Can be used any number of times.
214- Parameters are ESMTP extensions. See "HELP DSN" for details.
214 End of HELP info
help data
214-DATA
214- Following text is collected as the message.
214- End with a single dot.
214 End of HELP info
help rset
214-RSET
214- Resets the system.
214 End of HELP info
help noop
help quit
help help
help vrfy
214-VRFY
214- Verify an address. If you want to see what it aliases
214- to, use EXPN instead.
214 End of HELP info
help expn
214-EXPN
214- Expand an address. If the address indicates a mailing
214- list, return the contents of that list.
214 End of HELP info
help verb
214-VERB
214- Go into verbose mode. This sends 0xy responses that are
214- not RFC821 standard (but should be) They are recognized
214- by humans and other sendmail implementations.
214 End of HELP info
help etrn
214-ETRN [
214- Run the queue for the specified
214- all hosts within a given
214-
214 End of HELP info
help dsn
214-MAIL FROM:
214-RCPT TO:
214- [ ORCPT=
214- SMTP Delivery Status Notifications.
214-Descriptions:
214- RET Return either the full message or only headers.
214- ENVID Sender's "envelope identifier" for tracking.
214- NOTIFY When to send a DSN. Multiple options are OK, comma-
214- delimited. NEVER must appear by itself.
214- ORCPT Original recipient.
214 End of HELP info