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

Closed
link2xt opened this issue Sep 3, 2024 · 2 comments
Closed

chatmail-metadata warns about unknown requests #407

link2xt opened this issue Sep 3, 2024 · 2 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
@missytake
Copy link
Contributor

missytake commented Feb 11, 2025

It doesn't seem to happen on nine anymore, the last log messages about it are from May 19 (though newer ones might have been lost to log rotation?). Do you remember on which server this happened?

Otherwise I suggest to close this issue. It doesn't seem to cause problems anyway other than log messages, so the "bug" label might not apply.

@link2xt link2xt closed this as not planned Won't fix, can't repro, duplicate, stale Feb 11, 2025
@link2xt
Copy link
Contributor Author

link2xt commented Feb 11, 2025

I think it was actually fixed at some point, maybe during dictproxy refactoring.
And Dovecot 2.4.0 removed dictproxy anyway: #476

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

2 participants