From: "Dag-Erling Smørgrav" <des@des.no>
To: info-gnus-english@gnu.org
Subject: nnimap dies when APPENDing large messages
Date: Thu, 24 Jun 2010 11:31:36 +0200 [thread overview]
Message-ID: <86fx0cai9z.fsf@ds4.des.no> (raw)
Client: Gnus 5.13, Emacs 23.0.95.1, FreeBSD 9 on amd64.
Server: Cyrus IMAP 2.3.16, same OS on a different machine.
I run my own IMAP server and have set up Gnus to save sent messages in
an IMAP folder using nnimap:
(setq gnus-secondary-select-methods
'((nnimap "imap.des.no")))
(setq gnus-outgoing-message-group "nnimap+imap.des.no:INBOX.sent")
If the message, including headers, exceeds 33305 bytes, the APPEND
fails. I get the following message:
imap-send-command: writing to process: bad address, imap
After that, as soon as I try to do anything that involves nnimap, Gnus
simply hangs. The only workaround I've found is to restart the IMAP
server, which forces nnimap to restart the client process.
I have obtained IMAP traces of successful and failed APPENDs:
http://www.des.no/imap-ok.txt
http://www.des.no/imap-fail.txt
To summarize:
successful:
<1277209057<2111 APPEND "INBOX.sent" {33305}
>1277209057>+ go ahead
<1277209057<From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To: dag.erling@gmail.com
Subject: test
X-Draft-From: ("nnimap+imap.des.no:INBOX.sent")
Date: Tue, 22 Jun 2010 14:17:35 +0200
Message-ID: <867hlr45y8.fsf@ds4.des.no>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.95 (berkeley-unix)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
[...]
yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
<1277209057<�<1277209057<yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
>1277209057>2111 OK [APPENDUID 1118837504 16410] Completed
The � between the left angle brackets on the second-to-last line is a
0xEC. I have no idea what it means; I thought IMAP was a 7-bit-clean
protocol?
failed:
<1277209098<2125 APPEND "INBOX.sent" {33306}
>1277209098>+ go ahead
<1277209098<From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To: dag.erling@gmail.com
Subject: test
X-Draft-From: ("nnimap+imap.des.no:INBOX.sent")
Date: Tue, 22 Jun 2010 14:18:17 +0200
Message-ID: <8639wf45x2.fsf@ds4.des.no>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.95 (berkeley-unix)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
[...]
yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy<1277209106<2126 NOOP
>1277209106>2125 BAD junk after literal
DES
--
Dag-Erling Smørgrav - des@des.no
next reply other threads:[~2010-06-24 9:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-24 9:31 Dag-Erling Smørgrav [this message]
2010-06-24 9:51 ` David Engster
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=86fx0cai9z.fsf@ds4.des.no \
--to=des@des.no \
--cc=info-gnus-english@gnu.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).