https://bugs.kde.org/show_bug.cgi?id=313159

            Bug ID: 313159
           Summary: Akonadi/IMAP does not conform to RFC 5464 (IMAP
                    METADATA)
    Classification: Unclassified
           Product: Akonadi
           Version: 1.9.0
          Hardware: Gentoo Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: IMAP resource
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]

The IMAP server is dovecot-2.1.12 with my dovecot-metadata-9 plugin. I wrote
the plugin to check the input rather strictly, which is why it reports a
problem with Akonadi/IMAP's conformance to the IMAP METADATA RFC 5464.

>From the KIMAP_LOGFILE:
C: A001351 GETMETADATA "INBOX/live" "*"
S: A001351 BAD Error in IMAP command GETMETADATA: Wildcards in entry name '*'
not allowed. ( RFC 5464 Section 3.2 )

Section 3.2 explicitly forbids this:
Entry names MUST NOT contain asterisk ("*") or percent ("%") characters

Now you might argue that this only applies to the entry names the server
stores, but not to requests by the client. However, Section 4.2 neither allows
nor describes the use of the wildcard characters.

You probably want to use the DEPTH argument to GETMETADATA (Section 4.2.2)
instead of a wildcard character.

Reproducible: Always

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Kdepim-bugs mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kdepim-bugs

Reply via email to