Gnus development mailing list
 help / color / mirror / Atom feed
From: Simon Josefsson <jas@extundo.com>
Cc: ding@gnus.org
Subject: Re: IMAP error when posting
Date: Tue, 01 Oct 2002 14:42:16 +0200	[thread overview]
Message-ID: <ilun0pyuy8n.fsf@latte.josefsson.org> (raw)
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")

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)




  reply	other threads:[~2002-10-01 12:42 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-01  8:12 Kai Großjohann
2002-10-01 12:42 ` Simon Josefsson [this message]
2002-10-01 14:07   ` Kai Großjohann
2002-10-01 14:28     ` Kai Großjohann
2002-10-01 15:10       ` Simon Josefsson
2002-10-01 14:57     ` Simon Josefsson
2002-10-01 15:02       ` Kai Großjohann
2002-10-01 15:07       ` Kai Großjohann
2002-10-01 15:37         ` Kai Großjohann
2002-10-01 17:41           ` Kai Großjohann
2002-10-01 22:57             ` Simon Josefsson
2002-10-02 20:17               ` Kai Großjohann
2002-10-02 21:47                 ` Simon Josefsson

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=ilun0pyuy8n.fsf@latte.josefsson.org \
    --to=jas@extundo.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).