[Dovecot] still issues with metadata support

Mihai Badici mihai at badici.ro
Sat Mar 29 21:07:37 UTC 2014


On dovecot 2.2.12 compiled from source I use ActiveSync with kolab-syncroton.
When running a test i have this imap log:


[29-Mar-2014 22:58:25 +0200]: [F658] S: A0004 OK Getmetadata completed.
[29-Mar-2014 22:58:25 +0200]: [F658] C: A0005 SETMETADATA INBOX 
(/private/vendor/kolab/activesync "{\"DEVICE\":{\"601099122\":{\"ID\":
\"a5daac4806642a1cfeceb53aea32e86218c4d512\",\"TYPE\":
\"TestActiveSyncConnectivity\",\"ALIAS\":null}},\"FOLDER\":{\"601099122\":
{\"S\":1}}}")
[29-Mar-2014 22:58:26 +0200]: [F658] S: A0005 OK Setmetadata completed.
[29-Mar-2014 22:58:26 +0200]: [F658] C: A0006 GETMETADATA "*" 
(/private/vendor/kolab/activesync)
[29-Mar-2014 22:58:26 +0200]: [F658] S: A0006 NO Mailbox doesn't exist: *
[29-Mar-2014 22:58:26 +0200]: [F658] C: A0007 GETMETADATA "*" 
(/private/vendor/kolab/folder-type /shared/vendor/kolab/folder-type)
[29-Mar-2014 22:58:26 +0200]: [F658] S: A0007 NO Mailbox doesn't exist: *
[29-Mar-2014 22:58:26 +0200]: [F658] C: A0008 GETMETADATA "*" 
(/private/vendor/kolab/folder-type /shared/vendor/kolab/folder-type)
[29-Mar-2014 22:58:26 +0200]: [F658] S: A0008 NO Mailbox doesn't exist: *
[29-Mar-2014 22:58:26 +0200]: [F658] C: A0009 GETMETADATA "*" 
(/private/vendor/kolab/folder-type /shared/vendor/kolab/folder-type)
[29-Mar-2014 22:58:26 +0200]: [F658] S: A0009 NO Mailbox doesn't exist: *
[29-Mar-2014 22:58:26 +0200]: [F658] C: A0010 GETMETADATA "*" 
(/private/vendor/kolab/folder-type /shared/vendor/kolab/folder-type)
[29-Mar-2014 22:58:26 +0200]: [F658] S: A0010 NO Mailbox doesn't exist: *
[29-Mar-2014 22:58:26 +0200]: [F658] C: A0011 GETMETADATA "*" 
(/private/vendor/kolab/folder-type /shared/vendor/kolab/folder-type)
[29-Mar-2014 22:58:26 +0200]: [F658] S: A0011 NO Mailbox doesn't exist: *


It looks like GETMETADATA "*" is still  not expanded , even we have this part 
of code in cmd-getmetadata.c:

else if (strchr(mailbox, '*') == NULL &&
                   strchr(mailbox, '%') == NULL) {
                ns = client_find_namespace(cmd, &mailbox);
                if (ns == NULL)
                        return TRUE;
                return cmd_getmetadata_mailbox(ctx, ns, mailbox);
        } else {
                /* wildcards in mailbox name. this isn't supported by RFC 
5464,
                   but it was in the earlier drafts and is already used by
                   some software (Horde). */
                const char *patterns[2];
                patterns[0] = mailbox; patterns[1] = NULL;



-- 
Mihai Bădici
http://mihai.badici.ro


More information about the dovecot mailing list