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.
Regards,
Sergey
_______________________________________________
Bug-mailutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-mailutils