Gnus development mailing list
 help / color / mirror / Atom feed
From: Simon Josefsson <jas@extundo.com>
Subject: Re: possible imap.el bug
Date: Fri, 15 Oct 2004 18:39:56 +0200	[thread overview]
Message-ID: <iluy8i8x7dv.fsf@latte.josefsson.org> (raw)
In-Reply-To: <4nfz4gc99o.fsf@lifelogs.com>

"Ted Zlatanov" <tzz@lifelogs.com> writes:

> On Thu, 14 Oct 2004, jas@extundo.com wrote:
>
>> "Ted Zlatanov" <tzz@lifelogs.com> writes:
>> 
>>> I got this today while processing spam.  I'm not sure what the problem
>>> is, unfortunately, but it looks like some data may be missing from the
>>> overview?
>>>
>>> Ted
>>>
>>>
>>> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
>>>   string-to-number(nil)
>>>   imap-message-copyuid-1("train")
>>>   imap-message-copy("111169" "train" dontcreate nil " *nnimap* depot")
>> 
>> Do (setq imap-log t) and get the last part from *imap-log*, it looks
>> like a protocol problem.
>
> The error may be due to something unusual in the message (a mail
> bounce here), so I'm attaching the headers of the bounce.  I've also
> seen this error happen with spam, which may also have funny headers.
> I edited the real address to nosuch@invalid.com.
...
> 10845 UID COPY 32361 "soccer".
> 10845 OK UID COPY completed.

Could you get the CAPABILITY line from that server too?  First lines
when connecting to the server.

The imap.el code check for the UIDPLUS capability (RFC 2359) and uses
some special code if present, and it is the code that crashes.  If the
server really supported UIDPLUS, the UID COPY response should be
something like:

A003 OK [COPYUID 4711] Done

If the capability line includes UIDPLUS, then this is a server bug.




  reply	other threads:[~2004-10-15 16:39 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-14 18:48 Ted Zlatanov
2004-10-14 19:03 ` Simon Josefsson
2004-10-15 15:04   ` Ted Zlatanov
2004-10-15 16:39     ` Simon Josefsson [this message]
2004-10-15 16:53       ` Ted Zlatanov
2004-10-15 16:57         ` Simon Josefsson
2004-10-15 17:32           ` Ted Zlatanov
2004-10-15 17:37             ` Simon Josefsson
     [not found]               ` <4nsm8f956n.fsf@lifelogs.com>
     [not found]                 ` <iluacunx0k6.fsf@latte.josefsson.org>
     [not found]                   ` <4nsm8fcr00.fsf@bwh.harvard.edu>
     [not found]                     ` <iluvfdbrsni.fsf@latte.josefsson.org>
     [not found]                       ` <4nvfd7ubzv.fsf@lifelogs.com>
     [not found]                         ` <ilulldvoplv.fsf@latte.josefsson.org>
2004-10-25 19:11                           ` Ted Zlatanov
2004-10-25 19:29                             ` Simon Josefsson
2004-10-26 15:06                               ` Ted Zlatanov
2004-10-26 15:54                                 ` Simon Josefsson
2004-10-26 17:09                                   ` CHENG Gao
2004-10-26 17:59                                     ` Ted Zlatanov
2004-10-26 18:05                                   ` Ted Zlatanov
2004-10-26 20:07                                     ` Simon Josefsson
2004-10-26 15:51                             ` Gerd Flaig
2004-10-26 16:01                               ` Simon Josefsson
2004-10-26 16:30                                 ` Gerd Flaig

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=iluy8i8x7dv.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).