[Dovecot] Doveadm search in public namespaces
Thomas Leuxner
tlx at leuxner.net
Thu Dec 30 14:56:46 EET 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am 30.12.2010 um 13:43 schrieb Timo Sirainen:
>> It takes considerably longer when using 'mailbox-guid' compared to mailbox name, wonder why that is…
>
> It's because there is no easy way to access mailbox GUIDs, so it has to
> open each mailbox and get its GUID.
Right. I wanted to use the GUIDs because they are spit out on searches. Guess will have to use names then if faster.
$ doveadm search -u user at domain.tld sentbefore 02-jan-2010 mailbox Public/Mailing-Lists/Dovecot
adeffe1c8b7ba64bb3770000a998a2df 1021
[…]
>> I'm also not sure why it would recursively mangle all
>> 'dovecot-uidlist' files within the namespace (it does in a public
>> maildir namespace).
>
> The mailbox GUID is stored in dovecot-uidlist file. If the mailbox
> doesn't already have a GUID, it's added there.
So if the mailbox would have a current index it would not rebuild it? In other words: Wouldn't the Dovecot Mailing-List be current as it gets updated on every new post presumably? It was also rebuilt...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
iEYEARECAAYFAk0cgY4ACgkQ+meF/S97aXjpaQCgij5J0UpnLa/xNyVzOiqMzMdl
PAUAn0o/Mtxj6ANM3PK6GjgP0SyqANvP
=LTfL
-----END PGP SIGNATURE-----
More information about the dovecot
mailing list