Andrzej A. Filip
2013-Jan-02 15:14 UTC
[Dovecot] map_uid/GUID at IMAP level (IMAP extension?)
Is map_uid/guid going to be supported at IMAP protocol level? [via IMAP protocol extension] Specifically I would like to be able to: a) ask for mail_uid/GUID of specific message in mail store b) get list of folders containing copies of message with given mail_uid/GUID http://wiki2.dovecot.org/MailboxFormat/dbox#Multi-dbox Related: https://developers.google.com/google-apps/gmail/imap_extensions#access_to_the_gmail_unique_message_id_x-gm-msgid [message to guid mapping] https://developers.google.com/google-apps/gmail/imap_extensions#access_to_gmail_labels_x-gm-labels [message to list of folders mapping]
Timo Sirainen
2013-Jan-03 23:56 UTC
[Dovecot] map_uid/GUID at IMAP level (IMAP extension?)
On 2.1.2013, at 17.14, Andrzej A. Filip <andrzej.filip at gmail.com> wrote:> Is map_uid/guid going to be supported at IMAP protocol level? [via IMAP > protocol extension]map_uid is completely mdbox-specific. I don't see any point in offering it.> Specifically I would like to be able to: > a) ask for mail_uid/GUID of specific message in mail storea FETCH 1:* X-GUID> b) get list of folders containing copies of message with given mail_uid/GUIDCreate a virtual mailbox out of all your folders, then: a SELECT virtual/allmails b SEARCH X-GUID abcdefg With current code that keeps all of the folders' index files open, so not very good if you have lots of folders. Even if that's fixed it would still require opening and reading all the folders' index files, even if it's one at a time. Currently Dovecot doesn't really need a quick way to access a mail by its GUID, although dsync could benefit from it.
Seemingly Similar Threads
- An easy fix for "dovecot.map.index corrupted: map_uid=xxxx refcount too low"?
- Rebuilding indexes fails on inconsistent mdbox
- Bug in 2.6.1
- [dovecot-2.1.15] mdbox corruption, doveadm force-resync can't repair it (throws segfault)
- 2.1.7 shared folder index issued