rebuilding indexes for dovecot pop3

Arkadiusz Miśkiewicz arekm at maven.pl
Thu Aug 21 11:59:43 UTC 2014


On Wednesday 20 of August 2014, Timo Sirainen wrote:
> 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.

Ok, so I have imap and pop3 covered.

What about deliver and LMTP ? These also are updating cache/index files afaik. 
How these know what to put into cache ?

> > 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.

Using %Mf already (which is compatible with old pop3 daemon).

-- 
Arkadiusz Miśkiewicz, arekm / maven.pl


More information about the dovecot mailing list