[Dovecot] utility to update indexes ?

Timo Sirainen tss at iki.fi
Fri Jan 21 01:08:09 EET 2011


On Thu, 2011-01-20 at 23:50 +0100, Jan-Frode Myklebust wrote:

> But this woun´t work if the maildir has been modified outside of
> dovecot (i.e. webmail usage). Are there any simple interface I can use
> in this short snippet for noticing that the index is out of sync, and
> update it ?

With v2.0 you could use doveadm easily (you can also just use doveadm
binary from v2.0 and keep using v1.2 elsewhere):

doveadm mailbox status unseen inbox

If you're actually running v2.0 you can also ask this information via
UNIX/TCP socket.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20110121/c5a508bb/attachment.bin 


More information about the dovecot mailing list