You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The uidl for mdbox/sdbox and rbox are generated. howevever, it is possible to use pop3_reuse_xuidl=yes to use the mail header X-UIDL attribute to set it explicitly ( (which is however rather dprecated) (https://wiki2.dovecot.org/MailboxFormat/dbox)
struct mail_vfunc provides the eventhandler void (*update_pop3_uidl)(struct mail mail, const charuidl).
This eventhandler is used to notify storage plugins that the pop3_uidl has been generated/updated.
Currently the only mail_storage plugin which implments this event handler is maildir.
The current mdbox implementation regarding pop3_uidl only adds the pop3_uidl to the mdbox index, if it was set perviously written to the mdata struct mdata->pop3_uidl. Currently the only storage_plugin which does that is maildir. So i assume the code handling pop3_uidl in mdbox storage plugin is mainly due to migration issues from maildir to mdbox.
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)
The text was updated successfully, but these errors were encountered:
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
the pop3 command UIDL is used to receive the uidl of a message.
the uidl is used by pop3 clients to indicate which mails are already dowloaded. For that the client will save them appropriatelly. e.g. thunderbird popstate.dat (https://stackoverflow.com/questions/318673/where-does-thunderbird-store-the-uid-of-the-last-message-downloaded-via-pop)
There are several pop3 options available in dovecot which define the handling of pop3.uidl. (https://wiki.dovecot.org/POP3Server)
The uidl for mdbox/sdbox and rbox are generated. howevever, it is possible to use pop3_reuse_xuidl=yes to use the mail header X-UIDL attribute to set it explicitly ( (which is however rather dprecated) (https://wiki2.dovecot.org/MailboxFormat/dbox)
struct mail_vfunc provides the eventhandler void (*update_pop3_uidl)(struct mail mail, const charuidl).
This eventhandler is used to notify storage plugins that the pop3_uidl has been generated/updated.
Currently the only mail_storage plugin which implments this event handler is maildir.
The current mdbox implementation regarding pop3_uidl only adds the pop3_uidl to the mdbox index, if it was set perviously written to the mdata struct mdata->pop3_uidl. Currently the only storage_plugin which does that is maildir. So i assume the code handling pop3_uidl in mdbox storage plugin is mainly due to migration issues from maildir to mdbox.
To Reproduce
Steps to reproduce the behavior:
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)
The text was updated successfully, but these errors were encountered: