rebuilding indexes for dovecot pop3

Timo Sirainen tss at iki.fi
Wed Aug 20 11:32:48 UTC 2014


On 18 Aug 2014, at 08:48, Arkadiusz Miśkiewicz <arekm at maven.pl> wrote:

> 
> Hi.
> 
> doveadm -D fetch -u login \
>    'imap.envelope imap.bodystructure size.virtual date.received' '*'
> 
> according to mail archives allows to regenerate indexes and precache specified 
> headers for imap usage.
> 
> 
> What headers are needed for dovecot pop3 daemon?

The only thing that POP3 needs is the UIDL. So depending on your pop3_uidl_format setting you may or may not need something indexed. But you could just fetch pop3.uidl and that'll figure it out automatically.

> I have one server where dovecot works for imap only. For pop3 there is 
> different software being used. I want to migrate to dovecot pop3 but I need to 
> precache and regenerate indexes for dovecot pop3.

Make sure to preserve the UIDLs to avoid users redownloading mails.



More information about the dovecot mailing list