From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/46878 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: IMAP error when posting Date: Tue, 01 Oct 2002 14:42:16 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: <87lm5imvat.fsf@crybaby.cs.uni-dortmund.de> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1033476191 23239 127.0.0.1 (1 Oct 2002 12:43:11 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 1 Oct 2002 12:43:11 +0000 (UTC) Cc: ding@gnus.org Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17wMMn-00062h-00 for ; Tue, 01 Oct 2002 14:43:09 +0200 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 17wMMH-0006LZ-00; Tue, 01 Oct 2002 07:42:37 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 01 Oct 2002 07:43:17 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id HAA27162 for ; Tue, 1 Oct 2002 07:43:05 -0500 (CDT) Original-Received: (qmail 386 invoked by alias); 1 Oct 2002 12:42:20 -0000 Original-Received: (qmail 381 invoked from network); 1 Oct 2002 12:42:20 -0000 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net (HELO yxa.extundo.com) (217.13.230.178) by gnus.org with SMTP; 1 Oct 2002 12:42:20 -0000 Original-Received: from latte.josefsson.org (yxa.extundo.com [217.13.230.178]) by yxa.extundo.com (8.12.6/8.12.6) with ESMTP id g91CgGFt025581; Tue, 1 Oct 2002 14:42:16 +0200 Original-To: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-1?q?Gro=DFjohann?=) Mail-Copies-To: nobody X-Hashcash: 0:021001:Kai.Grossjohann@CS.Uni-Dortmund.DE:a4fdaa67aa9a1357 X-Hashcash: 0:021001:ding@gnus.org:dfb731bfcf44cee7 In-Reply-To: <87lm5imvat.fsf@crybaby.cs.uni-dortmund.de> (Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "Tue, 01 Oct 2002 10:12:58 +0200") User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-debian-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:46878 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:46878 Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes: > I switched to another machine, also running CVS Gnus, and I get this > when I want to post a message to an nnimap group: > > /---- > | 804 APPEND "INBOX.misc" {506} > | 804 BAD Invalid literal in Append command > \---- > > What's the story? Which server is this? The RFC says: Arguments: mailbox name OPTIONAL flag parenthesized list OPTIONAL date/time string message literal But maybe the server really wants the optional parameters anyway. Could you try this patch and see if it works? (Line numbers probably doesn't match.) --- imap.el.~6.41~ 2002-09-26 23:33:43.000000000 +0200 +++ imap.el 2002-10-01 14:41:19.000000000 +0200 @@ -1604,7 +1643,7 @@ (and (let ((imap-current-target-mailbox mailbox)) (imap-ok-p (imap-send-command-wait - (list "APPEND \"" mailbox "\" " article)))) + (list "APPEND \"" mailbox "\" () \"10-10-2000 10:10:10 +10\" " article)))) (imap-message-appenduid-1 mailbox))))) (defun imap-body-lines (body)