注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

记录创意的火花

天天学习,好好向上

 
 
 

日志

 
 

自己的邮件自己控制(pop3,smtp指令)  

2009-09-07 16:47:58|  分类: 默认分类 |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |

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 <topic>".

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 <hostname>

214- Introduce yourself.

214 End of HELP info

help ehlo

214-EHLO <hostname>

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: <sender> [ <parameters> ]

214- Specifies the sender. Parameters are ESMTP extensions.

214- See "HELP DSN" for details.

214 End of HELP info

help rcpt

214-RCPT TO: <recipient> [ <parameters> ]

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 <recipient> (注:这里recipient可以是你的username)

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 <recipient>

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 [ <hostname> | @<domain> | #<queuename> ]

214- Run the queue for the specified <hostname>, or

214- all hosts within a given <domain>, or a specially-named

214- <queuename> (implementation-specific).

214 End of HELP info

help dsn

214-MAIL FROM: <sender> [ RET={ FULL | HDRS} ] [ ENVID=<envid> ]

214-RCPT TO: <recipient> [ NOTIFY={NEVER,SUCCESS,FAILURE,DELAY} ]

214- [ ORCPT=<recipient> ]

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

0

0

0

 

  评论这张
 
阅读(571)| 评论(0)
推荐 转载

历史上的今天

在LOFTER的更多文章

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2017