Displaying 3 results from an estimated 3 matches for "flagsclear".
2020 Aug 03
3
How to access mailbox metadata in Lua push driver
...t;Mail notify status " .. tostring(code))
end end
This leads to a couple more questions ;)
- is there a way (eg. return value) to stop event processing already in
dovecot_lua_notify_begin_txn
- sometimes multiple events are generated, eg. when I read an email:
{"event":"FlagsClear","flags":[],"folder":"INBOX/eGroupWare/calconnect","imap-uid":2275,"imap-uidvalidity":1499767470,"keywords-old":[],"user":"user=5::42;***"}
{"event":"FlagsSet","flags":["\\Seen&qu...
2020 Aug 04
0
How to access mailbox metadata in Lua push driver
...can error out in begin_txn, but that will emit error.
The only doable way, right now, is to maybe add key {disabled=True} to your context, and then add
if ctx.disabled:
return
elsewhere.
> - sometimes multiple events are generated, eg. when I read an email:
> {"event":"FlagsClear","flags":[],"folder":"INBOX/eGroupWare/calconnect","imap-uid":2275,"imap-uidvalidity":1499767470,"keywords-old":[],"user":"user=5::42;***"}
> {"event":"FlagsSet","flags":["\\S...
2020 Aug 03
2
How to access mailbox metadata in Lua push driver
Thanks Aki, I'll check it out :)
Am 03.08.20 um 11:40 schrieb Aki Tuomi:
>> On 03/08/2020 12:31 Ralf Becker <rb at egroupware.org> wrote:
>>
>>
>> We're currently using the OX push driver, which is straight forward
>> (simple web hook) and allows to store (multiple) push tokens of our
>> webmailer direct in mailbox metadata.
>>
>>