-
Notifications
You must be signed in to change notification settings - Fork 150
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
ipurge events #2848
Comments
version 3.0.8 |
To clarify, is this only affecting MessageExpunge events that are generated by ipurge? Or is it affecting all MessageExpunge events? |
ipurge.c never calls |
This patch seems to fix it for me. I'm not sure if it's exactly correct, but it's enough for the mailbox to be included in the URI:
|
Ahh, I see what happened: it wasn't so much that the URI didn't include the mailbox, but rather, the mailbox it included was truncated at the first hierarchy separator, because the uninitialised namespace meant the hierarchy separator used was '\0'! Thus, "imap://host/user" instead of "imap://host/user.foo.somemailbox" |
And a cassandane test: cyrusimap/cassandane@d54d817 |
Sorry for the late reply but yes it was only for ipurge binary. And thank you for the correction. |
On ipurge execution, there's MessageExpunge event.
The events that we get from ipurge are like this:
{"event":"MessageExpunge","timestamp":"2019-08-12T11:44:40.754+02:00","service":"ipurge","mailboxID":"xxxxxxxxxxxx","uri":"imap://host/user;UIDVALIDITY=1508183802","uidset":"550:554","pid":103826,"user":"","vnd.cmu.mbtype":"","serverFQDN":"msfrb1406","vnd.cmu.mailboxACL":"xxxxxxxxxxx\tlrswipkxtecda\tadmcyr\tlrwipkxtecda\t"}
The uri syntax is not complete, so we are unable to parse it. The folder is missing.
The text was updated successfully, but these errors were encountered: