The following issue has been SUBMITTED. ====================================================================== http://www.dbmail.org/mantis/view.php?id=404 ====================================================================== Reported By: rhstone Assigned To: ====================================================================== Project: DBMail Issue ID: 404 Category: IMAP daemon Reproducibility: always Severity: major Priority: normal Status: new target: ====================================================================== Date Submitted: 29-Aug-06 21:22 CEST Last Modified: 29-Aug-06 21:22 CEST ====================================================================== Summary: BODYSTRUCTURE excludes encoding Description: Per private email with Mark Crispin:
Which IMAP server are you using? It's defective. <-- You guys are in trouble! In your message, the IMAP server sent: * 2501 FETCH (FLAGS (\Seen \Recent) BODYSTRUCTURE ("TEXT" "PLAIN" ("charset" "US-ASCII" "format" "flowed") NIL NIL NIL 34 2 NIL NIL NIL NIL)) The response should be: * 2501 FETCH (FLAGS (\Seen \Recent) BODYSTRUCTURE ("TEXT" "PLAIN" ("charset" "US-ASCII" "format" "flowed") NIL NIL "7BIT" 34 2 NIL NIL NIL NIL)) Note that the 6th item of the BODYSTRUCTURE (before 34) is NIL in the incorrect example and "7BIT" in the correct example. The syntax for the 6th item in the BODYSTRUCTURE list is: body-fld-enc = (DQUOTE ("7BIT" / "8BIT" / "BINARY" / "BASE64"/ "QUOTED-PRINTABLE") DQUOTE) / string This explicitly prohibits both atoms (it would use astring instead of string otherwise) and NIL (it would use nstring otherwise). ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 29-Aug-06 21:22 rhstone New Issue ======================================================================