Discuz! Board

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 1709|回复: 0
打印 上一主题 下一主题

收取过程中出错,然后中断收取过程

[复制链接]

388

主题

602

帖子

2218

积分

金牌会员

Rank: 6Rank: 6

积分
2218
跳转到指定楼层
楼主
发表于 2016-3-27 21:47:32 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
抓包发现如下问题:
RETR 5
-ERR System error

针对这种情况foxmail会断续收取下面的,而thunderbird会弹出如上窗口且,中断收取过程

foxmail和thunderbird收取过程发送命令对比
----------foxmail:  先收最新再收次新------------------------------
+OK richmail system v10(32c95524ed692c4-01cd4)
USER hcj@sgcc.com.cn
+OK
PASS richinfo
+OK login success
STAT
+OK 81 10298
LIST
+OK
1 896
2 891
......

80 1193
81 1199
.

UIDL
+OK
1 008100009b679a5d00000001
2 008200009b67f7d400000001

.....
80 008100009b6769cf00000008
81 008200009b67480300000027
.

TOP 1 1
+OK
X-RM-SPAM-FLAG: 00000000
X-CLIENT-INFO:
Message-ID: <54B4784D.4030600@sgcc.com.cn>
Date: Tue, 13 Jan 2015 09:43:41 +0800
From: lau003 <lau003@sgcc.com.cn>
User-Agent: ThinkMail/1.4.0
MIME-Version: 1.0
To: hcj <hcj@sgcc.com.cn>
Subject: 111
Content-Type: multipart/alternative;
boundary="------------000509020807050900010103"
This is a multi-part message in MIME format.
.
TOP 2 1

TOP 3 1
RETR 81
+OK

邮件内容
RETR 80
....
RETR 5
-ERR System error
...
RETR 1
.
QUIT

----------thunderbird:  先收老的再收新的------------------------------

+OK richmail system v10(32c95524efd02ca-01d3d)


AUTH


-ERR Bad sequence of commands


CAPA


-ERR Bad sequence of commands


USER hcj@sgcc.com.cn


+OK


PASS richinfo


+OK login success


STAT


+OK 81 10298


LIST


+OK


1 896
....
81 1199
.
UIDL
+OK
1 008100009b679a5d00000001
81 008200009b67480300000027
.
RETR 1
...
.

RETR 5

-ERR System error
后面不会再发命令获取了。


4012=RETR 命令未成功。无法获取邮件。

#define POP3_RETR_FAILURE                                     4012
nsPop3Protocol::Error(int32_t err_code)
nsPop3Protocol::RetrResponse(nsIInputStream* inputStream,
if(!m_pop3ConData->command_succeeded)
            return Error(POP3_RETR_FAILURE);

pop3EventStatusTextNoMsgs=无邮件需要下载

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|firemail ( 粤ICP备15085507号-1 )

GMT+8, 2024-5-7 09:04 , Processed in 0.058264 second(s), 19 queries .

Powered by Discuz! X3

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表