ceph-dovecot / dovecot-ceph-plugin

Dovecot plugin for storing mails in a Ceph cluster
Other
131 stars 23 forks source link

fetching pop3.uidl leads to rados storage metadata (omap) read #230

Closed jrse closed 5 years ago

jrse commented 5 years ago

fetching pop3.uidl leads to rados storage metadata (omap) read.

fetching the following mail metadata will lead to rados omap query for pop3.uidl metadata.

fetch ... "pop3.uidl"

pop3.uidl: is used to uniquely identify messages for pop3 clients. https://tools.ietf.org/html/rfc1939#page-12

To Reproduce Steps to reproduce the behavior:

  1. execute doveadm -D fetch -u " ... pop3.uidl" mailbox INBOX

Expected behavior The rbox plugin should behave like the mdbox plugin. It should implement the possibility to save existing pop3.uidls comming from maildir otherwise it should return "" empty string for pop3.uild and pop3.order in rbox_mail_get_special() to trigger the recalculation of uidl based on format and specified header fields (pop3-commands.c::pop3_get_uid)