Displaying 5 results from an estimated 5 matches for "status_recent".
2020 Aug 03
3
How to access mailbox metadata in Lua push driver
...function dovecot_lua_notify_event_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,...
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.
>>
>>
2008 Dec 02
2
my_vsnprintf crash on HP-UX
...AILBOX_SYNC_FLAG_FIX_INCONSISTENT|MAILBOX_SYNC_FLAG_FULL_READ)
at mail-storage.c:516
#17 0x41de4a0:0 in mailbox_sync (box=0x4005ca28,
flags=MAILBOX_SYNC_FLAG_FIX_INCONSISTENT|MAILBOX_SYNC_FLAG_FULL_READ,
status_items=STATUS_KEYWORDS|STATUS_FIRST_UNSEEN_SEQ|STATUS_UIDVALIDITY|STATUS_UIDNEXT|STATUS_RECENT|STATUS_MESSAGES,
status_r=0x7ffff5c0)
at mail-storage.c:545
#18 0x40bc200:0 in cmd_select_full (cmd=0x40054298, readonly=false)
at cmd-select.c:39
#19 0x40bc640:0 in cmd_select (cmd=0x40054298) at cmd-select.c:88
#20 0x40c9c00:0 in client_command_input (cmd=0x40054298) at client.c:580
---Ty...
2008 Nov 06
2
Compilation of 1.1.6 fails on HP-UX 11.31
Hi,
$ uname -srv
HP-UX B.11.31 U
$ cc --version
cc: HP C/aC++ B3910B A.06.20 [May 13 2008]
Compilation fails, output of configure and make are given below. The
cause of this is almost certainly that this version of HP-UX does define
the QCMD macro in sys/quota.h (checked in the ifdef line 26
dovecot-1.1.6/src/plugins/quota/quota-fs.h) as well as the dqblk struct,
but the latter with different
2013 Apr 09
1
2.2.0rc6: crash with mailbox_list_index=yes (and virtual?)
...(view=0x4a54, seq=19028, ext_id=6, data_r=0x0, expunged_r=<value optimized out>)
at mail-index-view.c:538
map = 0x0
#8 0x00007fca0277559f in mailbox_list_index_status (list=<value optimized out>, view=<value optimized out>, seq=<value optimized out>,
items=STATUS_RECENT, status_r=0x7fffbea0ac80, mailbox_guid=0x0) at mailbox-list-index-status.c:100
rec = <value optimized out>
ilist = 0x15bc830
data = 0x0
expunged = false
ret = true
#9 0x00007fca0277606d in mailbox_list_index_status_set_info_flags (box=0x15e3410, uid=1,...