[Dovecot] Please advise on very fast search

Timo Sirainen tss at iki.fi
Thu Nov 10 17:29:35 EET 2011


On 10.11.2011, at 6.37, Alexander Chekalin wrote:

> Are there any ways I can search or parse mboxes or mdboxes not directly and not with IMAP (I'm afraid it slooow in dump parsing)?

See doveadm fetch / doveadm search.

> in fact the only thing I miss even with my current scheme is permanent ID assigned to the message so I can easily find it despite the IMAP mailbox it is now (so if someone moved the message from one mailbox/folder to another, the ID allows to retrieve it fast anyway).

Dovecot has message GUIDs (with maildir it's filename), but there's no quick lookup for them, even though doveadm can fetch them easily:

doveadm fetch text guid 12312312




More information about the dovecot mailing list