From: Simon Josefsson <jas@extundo.com>
Subject: Re: IMAP splitting problem
Date: Thu, 23 May 2002 18:34:54 +0200 [thread overview]
Message-ID: <ilun0uqddqp.fsf@latte.josefsson.org> (raw)
In-Reply-To: <vu4rgzaus5.fsf@levana.de>
Patrick Gundlach <newsgroup@levana.de> writes:
>> Yes. If you enable `imap-log', what do you get in the *imap-log*
>> buffer? Most likely the server won't allow you to move the article.
>
> The server allows to create folder from other clients.
>
>
> [...]
> 4 UID SEARCH UNSEEN UNDELETED
> * SEARCH 8
> 4 OK Completed (1 msgs in 0.000 secs)
> 5 UID FETCH 8 BODY.PEEK[HEADER]
> * 3 FETCH (UID 8 BODY[HEADER] {927}
> [...]
> )
> 5 OK Completed
> 6 UID COPY 8 "INBOX.private"
> 6 NO Mailbox does not exist
> 7 EXPUNGE
> * 3 EXISTS
> * 0 RECENT
> 7 OK Completed
> 8 CLOSE
> [...]
>
> So it does not even try to create a subfolder
Right, the server told the client it is not possible to create one,
from RFC 2060:
,----
| If the destination mailbox does not exist, a server SHOULD return
| an error. It SHOULD NOT automatically create the mailbox. Unless
| it is certain that the destination mailbox can not be created, the
| server MUST send the response code "[TRYCREATE]" as the prefix of
| the text of the tagged NO response. This gives a hint to the
| client that it can attempt a CREATE command and retry the COPY if
| the CREATE is successful.
`----
However, I added a workaround for this server bug in imap.el long time
ago. Try upgrading or apply the patch below.
Index: imap.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/imap.el,v
retrieving revision 6.4
retrieving revision 6.5
diff -u -p -r6.4 -r6.5
--- imap.el 2001/02/15 09:16:41 6.4
+++ imap.el 2001/04/10 12:54:52 6.5
@@ -1462,8 +1462,11 @@ first element, rest of list contain the
(if (imap-ok-p (imap-send-command-wait cmd))
t
(when (and (not dont-create)
- (imap-mailbox-get-1 'trycreate mailbox))
- (imap-mailbox-create-1 mailbox)
+ ;; removed because of buggy Oracle server
+ ;; that doesn't send TRYCREATE tags (which
+ ;; is a MUST according to specifications):
+ ;;(imap-mailbox-get-1 'trycreate mailbox)
+ (imap-mailbox-create-1 mailbox))
(imap-ok-p (imap-send-command-wait cmd)))))
(or no-copyuid
(imap-message-copyuid-1 mailbox)))))))
next prev parent reply other threads:[~2002-05-23 16:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <vu8z6dedng.fsf@levana.de>
[not found] ` <acebuj219pk@enews3.newsguy.com>
[not found] ` <vafadqs76yu.fsf@lucy.cs.uni-dortmund.de>
2002-05-23 1:18 ` those who know me have no need of my name
[not found] ` <ilud6vpe14p.fsf@latte.josefsson.org>
2002-05-23 12:55 ` Patrick Gundlach
2002-05-23 16:34 ` Simon Josefsson [this message]
2002-05-24 11:28 ` Patrick Gundlach
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=ilun0uqddqp.fsf@latte.josefsson.org \
--to=jas@extundo.com \
/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).