pop3-js - messages over 50KB are not fully downloaded by default
Categories
(MailNews Core :: Networking: POP, defect)
Tracking
(thunderbird_esr91 unaffected)
Tracking | Status | |
---|---|---|
thunderbird_esr91 | --- | unaffected |
People
(Reporter: mkmelin, Assigned: rnons)
References
Details
Attachments
(2 files)
I set up a new POP3 account. Some of the messages are not fully downloaded, but get the "Truncated!This message exceeded the Maximum Message Size set in Account Settings, so we have only downloaded the first few lines from the mail server." message.
I didn't change any defaults, so no such limitations should apply. Seems it's messages over 50KB.
Reporter | ||
Comment 1•3 years ago
|
||
Clicking the "Download the rest of the message." link doesn't work either.
Assignee | ||
Comment 2•3 years ago
|
||
Assignee | ||
Comment 3•3 years ago
|
||
Good catch. "Download the rest of the message." works for me though.
Assignee | ||
Updated•3 years ago
|
Reporter | ||
Comment 4•3 years ago
|
||
For the "download the rest link" I just get this:
mailnews.pop3: Connecting to pop://pop.gmx.com:995 Pop3Client.jsm:122:18
mailnews.pop3: Connected Pop3Client.jsm:239:18
mailnews.pop3: S: +OK POP server ready H migmx107 1MA4fK-1nRoyL22Pa-00D85R
Pop3Client.jsm:274:18
mailnews.pop3: C: QUIT Pop3Client.jsm:425:20
mailnews.pop3: S: +OK POP server signing off
Pop3Client.jsm:274:18
mailnews.pop3: Connection closed. Pop3Client.jsm:297:18
Assignee | ||
Comment 5•3 years ago
|
||
Thanks. This happens when the message has been removed from the server. Seems the C++ code will remove this partial message if not found on server.
Reporter | ||
Comment 6•3 years ago
|
||
This message is still on the server - I can see it through IMAP. I have the settings not to remove stuff from the server set as well so it should not have removed it (which it correctly has not).
Assignee | ||
Comment 7•3 years ago
|
||
The code is https://searchfox.org/comm-central/rev/50d06c67e97daebd61b3da2b490c68e674a5ef97/mailnews/local/src/Pop3Client.jsm#185-186
Can you see if this uidl is still in popstate.dat and status should be b
?
Also do a get messages request, is this uidl still in the UIDL
response?
Reporter | ||
Comment 8•3 years ago
|
||
1MA4fK-1nRoyL22Pa-00D85R is not in popstate.dat.
It's not in the UIDL response either.
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/996762d9ecf6
Fetch full message if server.limitOfflineMessageSize is false in Pop3Client.jsm. r=mkmelin
Assignee | ||
Comment 10•3 years ago
|
||
(In reply to Magnus Melin [:mkmelin] from comment #8)
It's not in the UIDL response either.
I guess many mail services have separate logic for pop3/imap connections. GMail has some special settings to keep mails for pop3.
Will send a patch to delete partial message not found on server.
Assignee | ||
Comment 11•3 years ago
|
||
Assignee | ||
Updated•3 years ago
|
Comment 12•3 years ago
|
||
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/ad3ce437ca0d
Delete partial message if not found on server in Pop3Client.jsm. r=mkmelin
Description
•