[Dovecot] Doveadm search in public namespaces

Thomas Leuxner tlx at leuxner.net
Sun Dec 26 15:58:19 EET 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Say I want to create a script to perform some 'doveadm' tasks. Is there any particular reason why "mailbox-guids" would not work for public namespaces? 

Let's search something to play with:

$ doveadm search sentbefore 01-jan-2011 mailbox "Public/Mailing-Lists/Dovecot"
adeffe1c8b7ba64bb3770000a998a2df 1021
[…]

Trying to fetch headers using mailbox-guids *fails*:

$ doveadm fetch hdr mailbox-guid adeffe1c8b7ba64bb3770000a998a2df uid 1021

…while it works using mailbox name:

$ doveadm fetch hdr mailbox Public/Mailing-Lists/Dovecot uid 1021

Seems odd.

Regards
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.16 (Darwin)

iEYEARECAAYFAk0XSf8ACgkQ+meF/S97aXjqggCbBAL+FFTmHRXwuxLX46vYFclr
42UAn0dSEwvUzZUy8QU/Pvux+UzVdRlB
=vWk6
-----END PGP SIGNATURE-----


More information about the dovecot mailing list