History log of /dovecot/src/lib-storage/index/index-pop3-uidl.h
Revision Date Author Comments Expand
2b9dbb270ad82e58d5f3581436e6f143176d5819 21-Jun-2016 Timo Sirainen <timo.sirainen@dovecot.fi>

dbox: Optimize POP3 MAIL_FETCH_UIDL_BACKEND. We keep track of the highest UID known to have POP3 UIDL in index's header. If saving adds a newer message, it'll also update the header. When fetching UIDL_BACKEND, we can need to check only mails with lower UIDs. There are some race conditions here, but normally UIDLs are set only once during migration so it shouldn't matter.