If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Loop on downloading big mails >5MB

RESOLVED INCOMPLETE

Status

MailNews Core
Networking: POP
--
critical
RESOLVED INCOMPLETE
8 years ago
7 years ago

People

(Reporter: tomasz.gil, Unassigned)

Tracking

1.9.1 Branch
x86
Windows 7

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

8 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.0.249.89 Safari/532.5
Build Identifier: 3.0.1

When getting big mails (bigger than 5MB) TB loops and get many times the same message. I have to log on my account on server and delete this big message if I want to get next messages. Tested on Win7 32bit and Win7 64bit. 
Server POP3

Reproducible: Always
(Reporter)

Comment 1

8 years ago
Created attachment 429519 [details]
Example of "big" mail loop
(Reporter)

Updated

8 years ago
Version: unspecified → 3.0
Component: General → Networking: POP
Product: Thunderbird → MailNews Core
QA Contact: general → networking.pop
Version: 3.0 → 1.9.1 Branch
POP3 mail retrieval is simple.
(1) Issue LIST and UIDL, and obtain mail-sequence-# and UIDL
(2) RETR # (or TOP # 0/NN), and obtain mail data
(3) If not "Leave Messages on Server" and not "Fetch header only(TOP # 0)"
    and no "download size limitation(TOP # NN)", i.e. RETR was used,
    issue DLET #.
(4) If "Leave Messages on Server", save UIDL in popstate.dat.
(4) Issue QUIT.
(5) POP3 server removes mail to which DLET was requested.

Unless step (5) is executed successfully, step (2) is executed again on a same mail upon next POP3 server connection.

Does your server return data/response within reasonable time?
Get POP3 log with timestamp, and check POP3 level flow first.
> https://wiki.mozilla.org/MailNews:Logging
> http://www.mozilla.org/projects/nspr/reference/html/prlog.html#25328
> SET NSPR_LOG_MODULES=timestamp,pop3:5
Is some errors(such as timeout) seen in log?
No need to attach log data unless evidence Tb's fault really exists in log. (never paste long log data, please)

If timeout is suspected, increase mailnews.tcptimeout value(default=100 sec) via Config Editor and restart Tb. Is the big mail downloaded normally?
tomasz seems to be gone. not idea, but => incomplete without responses
Status: UNCONFIRMED → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.