* nnimap: message rfc822 breakage
@ 2007-12-08 16:50 James Cloos
0 siblings, 0 replies; only message in thread
From: James Cloos @ 2007-12-08 16:50 UTC (permalink / raw)
To: ding
[-- Attachment #1: Type: text/plain, Size: 1586 bytes --]
I wrote before about this, but now I have some debug output.
(As it turns out I had to setq imap-debug before starting gnus to get
any output in the *imap-debug* buffer. The startup only generated a
million lines -- about 55 MB on disk (once saved) and 110 MB of VM.)
I went offline to ensure no mail would be delivered and forwarded a
message (it happened to be that day's rfh post) to an address which
I knew would end up in an imap folder I had just emptied. Then I
quit gnus and started up in a fresh emacs with imap-debug t.
Selecting the specified folder led to the:
(assert (eq (char-after) ?\)) nil "In imap-parse-body 2")
from imap.el's (imap-parse-body).
A part of the debug looks like:
|||||| 7 -> imap-parse-body:
||||||| 8 -> imap-parse-envelope:
||||||| 8 <- imap-parse-envelope: ["Wed, 05 Dec 2007 19:30:02 -0800"
"Selecting a child's name"
(["tomkanpa" nil "tomkanpa" "aol.com"])
nil nil nil nil nil nil nil]
||||||| 8 -> imap-parse-body:
||||||| 8 <- imap-parse-body: nil
so the assert is in the sub-body which in this case is:
("text" "plain" NIL NIL NIL "7BIT" 714 25)
and not in the main rfc 822 body.
Also, the parse of the envelope gets nil for the sender, reply-to and
message-id fields. I wonder whether that is where the parsing gets off
track?
The full debug (of just the one folder select) is about 36½K so I'm
attaching it gzip(1)ed (which interestingly is smaller than bzip2(1)ed).
-JimC
[-- Attachment #2: debug trace of rfc 822 forward --]
[-- Type: application/octet-stream, Size: 2533 bytes --]
[-- Attachment #3: Type: text/plain, Size: 69 bytes --]
--
James Cloos <cloos@jhcloos.com> OpenPGP: 1024D/ED7DAEA6
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-12-08 16:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-08 16:50 nnimap: message rfc822 breakage James Cloos
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).