On 18 Aug 2014, at 08:48, Arkadiusz MiĆkiewicz arekm@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.