6.0.0-alpha14
7/2/25

[#9862] IMAP Invalid binary section
Summary IMAP Invalid binary section
Queue Horde Framework Packages
Queue Version Git master
Type Bug
State Resolved
Priority 1. Low
Owners slusarz (at) horde (dot) org
Requester vilius (at) lnk (dot) lt
Created 04/10/2011 (5197 days ago)
Due
Updated 04/11/2011 (5196 days ago)
Assigned 04/11/2011 (5196 days ago)
Resolved 04/11/2011 (5196 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
04/11/2011 06:11:59 PM Michael Slusarz Comment #7
State ⇒ Resolved
Reply to this comment
Fixed.  Still needlessly downloading the body text for the 
message/rfc822 base part.  Could hack something together to fix this, 
but this is better fixed via on-demand loading within Horde_Mime_Part 
itself.
04/11/2011 06:10:37 PM Git Commit Comment #6 Reply to this comment
Changes have been made in Git for this ticket:

Bug #9862: Don't attempt to get body text for rfc822 parts

  1 files changed, 1 insertions(+), 0 deletions(-)
http://git.horde.org/horde-git/-/commit/09ee342d7644b6ecdff6a7978a1a1b1845d6b4c5
04/11/2011 07:19:27 AM vilius (at) lnk (dot) lt Comment #5
New Attachment: Fwd_ tekstas Volfas Engelman.zip Download
Reply to this comment
I could not duplicate your issue - since there should be no reason 
IMP would be attempting to download part HEADER information since 
there is no message/rfc822 part in that data.
Still not fixed.

Attaching the real message I was talking about. It is the same message 
just forwarded as attachment from another sender. Sorry about that.
04/11/2011 06:26:20 AM Michael Slusarz Comment #4
Assigned to Michael Slusarz
State ⇒ Feedback
Reply to this comment
I could not duplicate your issue - since there should be no reason IMP 
would be attempting to download part HEADER information since there is 
no message/rfc822 part in that data.

However, while debugging this ticket I did find that we were 
incorrectly attempting to render ALL parts under the viewable 
alternative part, whether they could be or not.  This had the 
unfortunate side effect that we would download body text for all 
parts, including the base part.  So for a 2.5 MB multipart/mixed part, 
we were unnecessarily downloading this part (and all child parts which 
equals another 2.5 MB of data).  This should be fixed.

It is quite possible that this broken behavior was causing the 
original error, so it is likely this commit fixed.
04/11/2011 06:23:10 AM Git Commit Comment #3 Reply to this comment
Changes have been made in Git for this ticket:

Bug #9862: Fix unneeded body part downloads in alternative parts

  3 files changed, 8 insertions(+), 5 deletions(-)
http://git.horde.org/horde-git/-/commit/e36e15b86ec543c783670c424c9cb45baa2297af
04/10/2011 10:12:12 AM vilius (at) lnk (dot) lt Comment #2 Reply to this comment
in the logs. Attaching IMAP logs. The message in question is the 
same from ticket 9827 "Fwd_ meslita.eml".
Sorry I ment the other message "Forwarded message.zip"
04/10/2011 10:11:11 AM vilius (at) lnk (dot) lt Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ IMAP Invalid binary section
Queue ⇒ Horde Framework Packages
Milestone ⇒
Patch ⇒ No
New Attachment: imaplog Download
State ⇒ Unconfirmed
Reply to this comment
When opening particular messages I get:

2011-04-10T13:02:13+03:00 ERR: HORDE [imp] Bad IMAP request: Invalid 
binary section [pid 2943 on line 212 of 
"/usr/share/pear/Horde/Imap/Client/Base.php"]

in the logs. Attaching IMAP logs. The message in question is the same 
from ticket 9827 "Fwd_ meslita.eml".

Saved Queries