IMAP: Huge mail (117 attachments) gives "S-INBOX:CreateNewLineFromSocket: 8 BAD Excessively complex FETCH attribute list" error
Categories
(MailNews Core :: Networking: IMAP, defect)
Tracking
(Not tracked)
People
(Reporter: bugzilla, Unassigned)
References
Details
(Keywords: reproducible, Whiteboard: [has protocol log])
Attachments
(2 files)
| Reporter | ||
Comment 1•25 years ago
|
||
Comment 2•25 years ago
|
||
| Reporter | ||
Comment 3•25 years ago
|
||
| Reporter | ||
Comment 4•25 years ago
|
||
Comment 5•25 years ago
|
||
Comment 6•25 years ago
|
||
| Reporter | ||
Comment 7•25 years ago
|
||
| Reporter | ||
Comment 8•25 years ago
|
||
| Reporter | ||
Comment 9•25 years ago
|
||
Comment 10•25 years ago
|
||
Comment 11•25 years ago
|
||
Comment 12•25 years ago
|
||
Updated•25 years ago
|
Comment 14•25 years ago
|
||
| Reporter | ||
Comment 15•25 years ago
|
||
Comment 16•25 years ago
|
||
| Reporter | ||
Comment 17•25 years ago
|
||
Comment 18•25 years ago
|
||
| Reporter | ||
Comment 19•25 years ago
|
||
Comment 20•25 years ago
|
||
| Reporter | ||
Comment 21•25 years ago
|
||
Comment 22•25 years ago
|
||
Comment 26•23 years ago
|
||
Comment 27•22 years ago
|
||
| Reporter | ||
Comment 28•22 years ago
|
||
| Reporter | ||
Comment 29•22 years ago
|
||
| Reporter | ||
Comment 30•22 years ago
|
||
| Reporter | ||
Updated•22 years ago
|
Updated•21 years ago
|
Updated•17 years ago
|
Updated•17 years ago
|
| Assignee | ||
Updated•17 years ago
|
Comment 31•15 years ago
|
||
Comment 32•15 years ago
|
||
Comment 33•7 years ago
|
||
I can still reproduce this, using 60.5.1. Steps:
- download attachment 10149 [details] and save as .eml
- open message and forward to an imap account (I forwarded it to gmail)
- open forwarded message
Comment 34•7 years ago
|
||
(In reply to Wayne Mery (:wsmwk) from comment #33)
I can still reproduce this, using 60.5.1. Steps:
- download attachment 10149 [details] and save as .eml
- open message and forward to an imap account (I forwarded it to gmail)
Wayne, after you downloaded it, how did you open it in tb? I assume you dragged it to a folder on an account? Or is there another way to "open an .eml in tb" that I don't know about. Just wondering.
Did the message appear OK when you opened it before forwarding? What type of imap server are you using when you first opened the msg?
- open forwarded message
You only see a problem in tb after forwarding the message to gmail server? Is it OK on gmail webmail?
Sounds like this problem can vary depending on the imap server. I will try this too but mime/bodystructure stuff is not easy stuff to change.
Comment 35•7 years ago
|
||
how did you open it in tb?
with file saved as xxx.eml, and Thunderbird set as default mail client, just double click the file in Windows explorer or your OS file manager of choice (or in Thunderbird, File > open > saved message.
Message is perfectly fine when opened in gmail web, and also the copule attachments I tested.
Comment 36•7 years ago
|
||
I was just curious if there was a non-drag/drop way to import in a single .eml file. Can't find it. Maybe add-on "ImportExport Tools" does it, not sure. Not a big deal.
Anyhow, (In reply to Wayne Mery (:wsmwk) from comment #33)
I can still reproduce this, using 60.5.1. Steps:
- download attachment 10149 [details] and save as .eml
- open message and forward to an imap account (I forwarded it to gmail)
- open forwarded message
I dragged/dropped to gmail and openwave imap accounts on tb. Opens OK and can see all the 107 attachments.
From openwave account on tb, forwarded it to gmail. Openwave server (smtp) returns this:
"552 5.7.0 Number of MIME parts exceeds the maximum permitted. Please check the message and try again."
Googling for this, it sounds like an anti-spam measure by limiting the number of mime parts.
Then from gmail in tb, I forward it to openwave. Seemed to go out but then got a non-delivery notice from gmail with the same error description: Openwave said there were too many mime parts.
Finally from gmail on tb, I forwarded it to another gmail account. It came in with no errors and is perfectly readable.
Looks to me like tb can fetch and display the message OK using imap protocol. Tb can also send the message OK. But when the message is sent/forwarded in its current form, the mail server(s) along the route may reject it due to too many MIME parts.
So, to me, this appears to be invalid and not a bug on tb's part.
Comment 37•7 years ago
|
||
(In reply to gene smith from comment #36)
So, to me, this appears to be invalid and not a bug on tb's part.
Spoke too soon. See a problems with attachments not inline. Problem seems to be the 65th email attachment that has 3 attachments itself (base64 encoded text items). If that is cut out of the file, the email displays OK. Not sure what's wrong...
Comment 38•7 years ago
|
||
Combined with changes from this
Bug 1454542 -- "When possible, obtain message bodies from cache instead of from imap server. Especially helping non-autosync profiles and users on slow network"
and some additional changes, I have this message readable with most IMAP servers, except gmail. (Openwave/charter also has a problem but changes there are a lost cause.)
I asked on the imap mailing list about the problems I see with gmail. This thread shows the exchange so far:
http://mailman13.u.washington.edu/pipermail/imap-protocol/2019-March/thread.html#2638
Other than "too many MIME parts" when sending via SMTP for some servers, the only problem I see is displaying the message with no offline store. If offline storage sync is enable for the folder, no problems even on gmail and openwave.
Updated•6 years ago
|
Updated•6 years ago
|
Updated•3 years ago
|
Description
•