From: James Cloos <cloos+math_uh-ding@jhcloos.com>
To: ding@gnus.org
Subject: nnimap: message rfc822 breakage
Date: Sat, 08 Dec 2007 16:50:24 +0000 [thread overview]
Message-ID: <m3r6hxcer3.fsf@lugabout.jhcloos.org> (raw)
[-- 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
reply other threads:[~2007-12-08 16:50 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3r6hxcer3.fsf@lugabout.jhcloos.org \
--to=cloos+math_uh-ding@jhcloos.com \
--cc=ding@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).