From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/64397 Path: news.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: Difficulty copying messages to nnimap groups Date: Mon, 12 Mar 2007 12:59:35 +0100 Message-ID: <87ird6hdug.fsf@mocca.josefsson.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1173700889 9113 80.91.229.12 (12 Mar 2007 12:01:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 12 Mar 2007 12:01:29 +0000 (UTC) Cc: ding@gnus.org To: nathanw@MIT.EDU (Nathan J. Williams) Original-X-From: ding-owner+M12920@lists.math.uh.edu Mon Mar 12 13:01:22 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 1HQjDL-00009V-LR for ding-account@gmane.org; Mon, 12 Mar 2007 13:01:20 +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 1HQjC9-0000rU-O7; Mon, 12 Mar 2007 07:00:05 -0500 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 1HQjC6-0000r3-Hi for ding@lists.math.uh.edu; Mon, 12 Mar 2007 07:00:02 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.63) (envelope-from ) id 1HQjC0-00018v-7j for ding@lists.math.uh.edu; Mon, 12 Mar 2007 07:00:02 -0500 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net ([217.13.230.178] helo=yxa.extundo.com) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1HQjBy-0001l6-00 for ; Mon, 12 Mar 2007 12:59:54 +0100 Original-Received: from mocca.josefsson.org (yxa.extundo.com [217.13.230.178]) (authenticated bits=0) by yxa.extundo.com (8.13.4/8.13.4/Debian-3sarge3) with ESMTP id l2CBxZEj022364 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 12 Mar 2007 12:59:36 +0100 OpenPGP: id=B565716F; url=http://josefsson.org/key.txt Mail-Copies-To: nobody X-Hashcash: 1:22:070312:nathanw@mit.edu::YOhbxpqKQfNXswpo:3iuV X-Hashcash: 1:22:070312:ding@gnus.org::JQyV9KaAB6Wcrz1Y:GT6W In-Reply-To: (Nathan J. Williams's message of "Sat\, 10 Mar 2007 12\:33\:33 -0500") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.94 (gnu/linux) X-Spam-Status: No, score=-0.7 required=4.0 tests=AWL,BAYES_50, FORGED_RCVD_HELO autolearn=ham version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on yxa-iv X-Virus-Scanned: ClamAV version 0.88.2, clamav-milter version 0.88.2 on yxa.extundo.com X-Virus-Status: Clean X-Spam-Score: -2.1 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:64397 Archived-At: nathanw@MIT.EDU (Nathan J. Williams) writes: > 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?... The canonical e-mail format uses CRLF. > --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 I assume you really waited a very long time? Perhaps the server was very busy with committing things to disk? > ... 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. What is the last line of the message in the IMAP folder? > 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). Right, that seems somewhat weird. I'd expect the next command to fail. > 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? You could try upgrading... Do you use a Kerberos/GSS-API/SSL stream? Then try toggling imap-process-connection-type, and restart Emacs/gnus. /Simon