[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-mailutils] Bugs in movemail with IMAP folders

From: Sergey Poznyakoff
Subject: Re: [bug-mailutils] Bugs in movemail with IMAP folders
Date: Tue, 10 Feb 2009 12:21:10 +0200

Hi Thomas,

I revised the patch. It looks mostly OK to me, except several parts
where INBOX can be one of arguments, e.g.:

-       status = imap_writeline (f_imap, "g%s APPEND %s %s {%s}\r\n",
+       status = imap_writeline (f_imap, "g%s APPEND \"%s\" %s {%s}\r\n",

According to RFC 3501:

mailbox         = "INBOX" / astring
                    ; INBOX is case-insensitive.  All case variants of
                    ; INBOX (e.g., "iNbOx") MUST be interpreted as INBOX
                    ; not as an astring.  An astring which consists of
                    ; the case-insensitive sequence "I" "N" "B" "O" "X"
                    ; is considered to be INBOX and not an astring.
                    ;  Refer to section 5.1 for further
                    ; semantic details of mailbox names.

Unless I'm misinterpreting it, this rule indicates that the special name
INBOX must not be quoted.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]