From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/64393 Path: news.gmane.org!not-for-mail From: nathanw@MIT.EDU (Nathan J. Williams) Newsgroups: gmane.emacs.gnus.general Subject: Difficulty copying messages to nnimap groups Date: Sat, 10 Mar 2007 12:33:33 -0500 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1173548114 32255 80.91.229.12 (10 Mar 2007 17:35:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 10 Mar 2007 17:35:14 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M12917@lists.math.uh.edu Sat Mar 10 18:35:11 2007 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1HQ5TH-0001vH-6A for ding-account@gmane.org; Sat, 10 Mar 2007 18:35:07 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1HQ5Rz-0006Ea-Mg; Sat, 10 Mar 2007 11:33:47 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1HQ5Rw-0006E6-Cb for ding@lists.math.uh.edu; Sat, 10 Mar 2007 11:33:44 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.63) (envelope-from ) id 1HQ5Rq-0003gO-5u for ding@lists.math.uh.edu; Sat, 10 Mar 2007 11:33:44 -0600 Original-Received: from biscayne-one-station.mit.edu ([18.7.7.80]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1HQ5Ro-0003QZ-00 for ; Sat, 10 Mar 2007 18:33:36 +0100 Original-Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) by biscayne-one-station.mit.edu (8.13.6/8.9.2) with ESMTP id l2AHXYdl012136 for ; Sat, 10 Mar 2007 12:33:35 -0500 (EST) Original-Received: from contents-vnder-pressvre.mit.edu (CONTENTS-VNDER-PRESSVRE.MIT.EDU [18.7.18.65]) (authenticated bits=56) (User authenticated as nathanw@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id l2AHXYEC013426 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 10 Mar 2007 12:33:34 -0500 (EST) Original-Received: (from nathanw@localhost) by contents-vnder-pressvre.mit.edu (8.12.9.20060308) id l2AHXYnH013069; Sat, 10 Mar 2007 12:33:34 -0500 (EST) X-Scanned-By: MIMEDefang 2.42 X-Spam-Flag: NO X-Spam-Score: 0.00 X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:64393 Archived-At: I've recently started moving some of my mail from nnml to IMAP folders, and naturally tried using nnimap to do it. Copying or moving messages works for most messages, but for some (not all) more-complicated messages with MIME structure, it hangs. The *imap-log* looks something like this: 275 UNSELECT 275 OK Completed 276 APPEND "INBOX.cl" {23873} + go ahead ... contents of message... where did all these ^M's come from?... --899389228-1059480176-1173234298=:7884-- ... hang At this point, if I press C-g, Gnus quits doing that and lets me do other things. If I go into some other IMAP mailbox, the log then gets: 277 SELECT "INBOX" 276 OK [APPENDUID 1173392274 67] Completed * FLAGS (\Answered \Flagged \Draft \Deleted \Seen $NotJunk JunkRecorded $Junk) * OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen $NotJunk JunkRecorded $Junk \*)] * 35 EXISTS * 0 RECENT * OK [UNSEEN 35] * OK [UIDVALIDITY 1173293047] * OK [UIDNEXT 225] 277 OK [READ-WRITE] Completed ... and the message I tried to move is in the IMAP folder (as seen in another client), but Gnus still has it in nnml, since it doesn't think it finished the operation. This seems like a length-mismatch issue of some kind. The original message file under nnml is: 13 contents-vnder-pressvre:nathanw>ls -l 187 -rw------- 1 nathanw mit 23368 Mar 10 10:21 187 14 contents-vnder-pressvre:nathanw>wc -l 187 505 187 And 23368+505 = 23873, the length that was used in the APPEND command. I'm puzzled why the server seemed to wait for the text of the 277 command to appear before reporting success of 276, but then 277 succeeded (as 277, and not as 77, as I might suspect). Gnus v5.10.6, Emacs 21.4.1. IMAP server is Cyrus, 2.0.17 (not under my control to upgrade). Is this something that is fixed in a later Gnus? I poked around ChangeLogs and CVS and didn't find anything obvious. Any other ideas? - Nathan