Displaying 3 results from an estimated 3 matches for "status_unseen".
Did you mean:
status_seen
2020 Aug 03
3
How to access mailbox metadata in Lua push driver
...nt_message_new(ctx, event)
-- check if there is a push token registered if (ctx.meta == nil or ctx.meta == '') then return end -- get mailbox status local mbox = ctx.user:mailbox(event.mailbox)
mbox:sync()
local status = mbox:status(dovecot.storage.STATUS_RECENT, dovecot.storage.STATUS_UNSEEN, dovecot.storage.STATUS_MESSAGES)
mbox:free()
table.insert(ctx.messages, {
user = ctx.meta,
["imap-uidvalidity"] = event.uid_validity,
["imap-uid"] = event.uid,
folder = event.mailbox,
event = event.name,
from = event.from,
subje...
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.
>>
>>
2018 Oct 09
3
index corruption weirdness
...88750, input=0x0)
at mail-storage.c:907
_data_stack_cur_id = 6
ret = <optimized out>
input = 0x0
box = 0x1388750
#19 0x00007f4372f35070 in mailbox_open (box=box at entry=0x1388750) at
mail-storage.c:942
No locals.
#20 0x00007f4372f56b2b in index_storage_get_status (box=0x1388750,
items=STATUS_UNSEEN, status_r=0x7ffe367f9b40) at index-status.c:41
hdr = <optimized out>
__FUNCTION__ = "index_storage_get_status"
#21 0x00000000004175f5 in imap_status_get (cmd=0x12d99b0, ns=0x12d8590,
mailbox=mailbox at entry=0x13883e0 "DELETED_MESSAGES.INBOX",
items=items at entry=0x12...