search for: mail_update_flags

Displaying 3 results from an estimated 3 matches for "mail_update_flags".

2005 May 20
1
pop3/commands.c query
Is this correct ? cmd_rset() if (mail_update_flags(mail, MAIL_SEEN, MODIFY_REMOVE) < 0) break; Args seems to be switched. /Jens ----------------------------------------------------------------------- 'This mail automatically becomes portable when carried.' -------------------------------------------------------------...
2011 Aug 08
2
How to make dovecot-lda/deliver mark a message as seen
...In dovecot 1.1.7 I succeeded to achive this, by modifing deliver.c so that upon adding a -S switch to the command arguments, the flag MAIL_SEEN was added to the call of mailbox_copy(). This seemed to work pretty good. With the new version, i tried to do something similar by selectively adding mail_update_flags(ctx.src_mail, MODIFY_ADD, MAIL_SEEN); just before the call of mail_deliver(), whenever the -S argument is given. But this does not work. What is wrong? Is there a better way to set MAIL_SEEN for a locally delivered mail? I would prefer a method that does not require to mess around in the doveco...
2009 Jul 14
2
Index cache file problems in Dovecot 1.2.0
...gt; name=0xff142d68 "msgid", header=0xff142ee8 "Message-ID") > at mail-log-plugin.c:277 > #9 0xff141c5c in mail_log_action (dest_trans=0x128f20, mail=0x128f20, > event=MAIL_LOG_EVENT_DELETE, data=0x0) at mail-log-plugin.c:318 > #10 0xff141e5c in mail_log_mail_update_flags (_mail=0x128f20, > modify_type=MODIFY_ADD, flags=12) at mail-log-plugin.c:376 > #11 0x78af8 in mail_update_flags (mail=0x128f20, modify_type=MODIFY_ADD, > flags=12) at mail.c:184 > #12 0x2ab3c in cmd_store (cmd=0x11bec8) at cmd-store.c:192 > #13 0x2b5f8 in cmd_uid (cmd=0x11be...