[sylpheed:32635] Re: Freenet freemail imap problem

Hiroyuki Yamamoto hiro-y at kcn.ne.jp
Wed Sep 24 10:51:56 JST 2008


Hello,

On Sat, 20 Sep 2008 12:28:58 -0400
Dennis Nezic <dennisn at dennisn.dyndns.org> wrote:

> [12:14:30] IMAP4> 7 UID FETCH 1:7 (UID FLAGS RFC822.SIZE
> RFC822.HEADER) [12:14:30] IMAP4< * 1 FETCH (UID 1 FLAGS (\Seen)
> RFC822.SIZE 1221 RFC822.HEADER{253}
> 
> (sylpheed:10448): LibSylph-WARNING **: invalid FETCH response:
> RFC822.HEADER{253}
> 
> ..... and then ...... any subsequent communications with this imap
> account leads to the following:
> 
> (sylpheed:10448): LibSylph-WARNING **: [12:14:30] can't parse
> envelope:
> * 1 FETCH (UID 1 FLAGS (\ Seen) RFC822.SIZE 1221 RFC822.HEADER{253}
> 
> [12:14:30] IMAP4< From: Dave Baker <dave at dbkr.freemail>
> cache_dirty: 0, mark_dirty: 0
>         Setting summary from message data...done.
> 
> Folder INBOX/Trash is selected
> [12:14:45] IMAP4> 8 CLOSE
> [12:14:45] IMAP4< To: god at sdfsddifsoie.freemail
> (sylpheed:10448): LibSylph-WARNING **: [12:14:45] error while imap
> command: CLOSE
> (sylpheed:10448): LibSylph-WARNING **: [12:14:45] can't close folder
> 
> Scanning folder (INBOX/Trash)...
> [12:14:45] IMAP4> 9 SELECT INBOX.Trash
> [12:14:45] IMAP4< Subject: Welcome to Freemail!
> (sylpheed:10448): LibSylph-WARNING **: [12:14:45] can't select folder:
> INBOX.Trash
> 
> ......... and so on ....... ie. imap is spitting out the actual
> contents of the email message, while sylpheed is expecting something
> entirely different :).
> 
> Now, where is the breakdown in communication occurring :\ ?

Sylpheed expected "... RFC822.HEADER {253}" while Freenet IMAP server
returned "RFC822.HEADER{253}" (note the space before { }).

RFC 2060 defines the server response as:

  "RFC822" [".HEADER" / ".TEXT"] SPACE nstring 

So it seems that Freenet IMAP server violates the RFC :)

I'll modify the response parser to allow such responses, anyway.

-- 
Hiroyuki Yamamoto <hiro-y at kcn.ne.jp>


More information about the Sylpheed mailing list