Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chatmail-metadata warns about unknown requests #407

Open
link2xt opened this issue Sep 3, 2024 · 0 comments
Open

chatmail-metadata warns about unknown requests #407

link2xt opened this issue Sep 3, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@link2xt
Copy link
Contributor

link2xt commented Sep 3, 2024

There are many warnings that look like this:

Sep 03 02:20:20 chatmail-metadata[2795551]: WARNING:root:unknown dictproxy request: 'U1\tpriv/909972312f56d666527204003dd4fc98/comment'
Sep 03 02:20:20 chatmail-metadata[2795551]: WARNING:root:unknown dictproxy request: 'U2\tshared/909972312f56d666527204003dd4fc98/comment'
Sep 03 02:20:21 chatmail-metadata[2795551]: WARNING:root:unknown dictproxy request: 'U3\tpriv/28b3ff10bd55d6663c5604003dd4fc98/comment'
Sep 03 02:20:21 chatmail-metadata[2795551]: WARNING:root:unknown dictproxy request: 'U4\tshared/28b3ff10bd55d6663c5604003dd4fc98/comment'
Sep 03 02:20:34 chatmail-metadata[2795551]: WARNING:root:unknown dictproxy request: 'U1\tpriv/e8989a394356d666c47504003dd4fc98/comment'
Sep 03 02:20:34 chatmail-metadata[2795551]: WARNING:root:unknown dictproxy request: 'U2\tshared/e8989a394356d666c47504003dd4fc98/comment'
Sep 03 02:20:47 chatmail-metadata[2795551]: WARNING:root:unknown dictproxy request: 'U1\tpriv/707f35175356d666d77704003dd4fc98/comment'
Sep 03 02:20:47 chatmail-metadata[2795551]: WARNING:root:unknown dictproxy request: 'U2\tshared/707f35175356d666d77704003dd4fc98/comment'
Sep 03 02:20:48 chatmail-metadata[2795551]: WARNING:root:unknown dictproxy request: 'U3\tpriv/2808e30f0756d666016a04003dd4fc98/comment'
Sep 03 02:20:48 chatmail-metadata[2795551]: WARNING:root:unknown dictproxy request: 'U4\tshared/2808e30f0756d666016a04003dd4fc98/comment'

U means "unset" according to https://doc.dovecot.org/2.3/developer_manual/design/dict_protocol/#dovecot-dict-protocol
As far as I see we don't handle "unset" at all.

Not sure what causes these unset commands. Maybe this happens when user or folder is created. I think we should handle "unset" for all keys by doing nothing and reporting "O" (ok) status or "F" if it is some key that we want to return and make it impossible to unset.

@link2xt link2xt added the bug Something isn't working label Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant