After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 536100 - GMail IMAP support.
GMail IMAP support.
Product: balsa
Classification: Other
Component: general
Other Linux
: Normal normal
: ---
Assigned To: Balsa Maintainers
Balsa Maintainers
Depends on:
Reported: 2008-06-01 18:07 UTC by Pawel Salek
Modified: 2008-06-18 17:10 UTC
See Also:
GNOME target: ---
GNOME version: ---

Proposed patch (13.07 KB, patch)
2008-06-01 18:08 UTC, Pawel Salek
none Details | Review

Description Pawel Salek 2008-06-01 18:07:38 UTC
GMail IMAP is a somewhat non-standard server.

1. Gmail sends sometimes data in a permuted order. When we ask for (BODY[HEADER] BODY[TEXT]), Gmail sends (BODY[TEXT] BODY[HEADER]) which is formally correct. In practice, balsa's ideas about message was incorrect (balsa looked for the headers and found none). 

2. Gmail does not follow the RFC3501 when generating BODYSTRUCTURE response. This response has a "number-of-lines" field that is supposed to be present only for messages and text parts. Gmail sends it also for other parts, for example for application/pgp-signature. This obviously confuses the parser... The right solution is to fix Gmail IMAP server but workarounds are possible.
Comment 1 Pawel Salek 2008-06-01 18:08:17 UTC
Created attachment 111908 [details] [review]
Proposed patch
Comment 2 Pawel Salek 2008-06-18 17:10:25 UTC
Balsa-2.3.25 containing the fix has been released.