search for: save_finish

Displaying 12 results from an estimated 12 matches for "save_finish".

2005 Jul 23
1
Plugin development
Hi, I have a few questions regarding copy and save_finish methods. How can I get a filename or processing mail from the parameters you get in that methods? How could I use the logger you use for dovecot inside my plugin? Thanks, Sebastjan -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://dovecot.org/pipermail/...
2012 Nov 22
1
Plugin help, number of messages in mailbox
...s empty, or becomes not empty (set a flag in memcached, but that's not really important). I'm writing a plugin (for Dovecot 2.1.7). On mailbox_open() I can use mailbox_get_status() to get a count of messages in the mailbox, and then decrement this in expunge() or increment it in mailbox save_finish() (for IMAP APPEND or COPY commands). However in expunge() and mailbox_save_finish, even after calling the super function, mailbox_get_status doesn't update the number of messages in the mailbox. This is a problem if (for example) there are concurrent POP sessions. Two POP sessions could get...
2008 Jul 11
1
Dovecot-1.1.1 with quota and antispam plugin - segmentation fault
...700, mail=0x0, too_large_r=0xbfbfe74b) at quota.c:797 size = 4 ret = 0 #2 0x183213ce in quota_check (t=0x812e580, mail=0x0) at quota-storage.c:148 qt = (struct quota_transaction_context *) 0x8128700 ret = 134728787 too_large = 191 #3 0x18321740 in quota_save_finish (ctx=0x8152028) at quota-storage.c:251 qt = (struct quota_transaction_context *) 0x8128700 qbox = (struct quota_mailbox *) 0x81381e8 #4 0x1833212f in antispam_save_finish (ctx=0x8152028) at antispam-storage-1.1.c:178 asbox = (struct antispam_mailbox *) 0x8138280...
2010 Jul 13
1
mailbox_storage_vfuncs: mailbox_open -> ? in 2.0
...box_open? Did it disappear? Did it get renamed? It appears that I am needing to override some methods: if (need_folder_hook) { /* override save_init to override want_mail, we need that */ box->v.save_begin = antispam_save_begin; box->v.save_finish = antispam_save_finish; box->v.transaction_begin = antispam_mailbox_transaction_begin; box->v.transaction_commit = antispam_mailbox_transaction_commit; box->v.transaction_rollback = antispam_mailbox_transaction_rollback; box-&...
2008 Feb 13
1
How to log uid and keywords of delivered mail?
Hi, I?d like to extend the mail_log plugin to log the uid and keywords of a mail delivered by LDA. The keywords are set by the sieve plugin. I added a mail_log_save_finish() function hook listed below. However, the uid of the mail is always zero and trying to get the keywords results in assertion failure, probably because the message is not committed yet: Feb 13 08:07:42 ha-test1 deliver(test1 at example.com): dest mail seq: 23, uid: 0 Feb 13 08:07:42 ha-test1 deli...
2017 Aug 30
2
Segmentation fault with doveadm search
Hi, We have a Ubuntu 14.04 server with dovecot 2.2.9 If I try to run /usr/bin/doveadm search -u email at exmaple.com mailbox Junk savedbefore 30d It will dump a core file. We have a similar config on an other server and there is no problem there. Any ideas how to prevent the core dump? root at triws2:~# gdb --args doveadm search -u email at example.com mailbox Junk savedbefore 30d Reading
2005 Oct 14
0
1.0a3: assert and core dump
...= 0x43808 <index_storage_search_init>, search_deinit = 0x438ac <index_storage_search_deinit>, search_next = 0x43a44 <index_storage_search_next>, save_init = 0x364c8 <mbox_save_init>, save_continue = 0x3681c <mbox_save_continue>, save_finish = 0x36ae8 <mbox_save_finish>, save_cancel = 0x36c58 <mbox_save_cancel>, copy = 0x5b070 <mail_storage_copy>, is_inconsistent = 0x44588 <index_storage_is_inconsistent>}, pool = 0xaed98, module_contexts = {buffer = 0xaef18, element_size = 4}},...
2008 Mar 20
3
Using IMAP keywords instead of mailboxes for spam with dovecot-antispam
Hi, Some email clients, like Evolution, use IMAP keywords to flag spam instead of moving mail to dedicated spam mailbox. This is very useful, as false positives can be easily "moved" to original mailbox simply by removing $Junk keyword. I couldn't find a way how to integrate antispam software, like dspam, with dovecot, so that antispam automatically learns ham/spam. I have found
2017 Aug 30
2
Segmentation fault with doveadm search
...xt_nonblock>, search_next_update_seq = 0x7ffff76e5af0 <fail_mailbox_search_next_update_seq>, save_alloc = 0x7ffff76e5b00 <fail_mailbox_save_alloc>, save_begin = 0x7ffff69cfea0 <quota_save_begin>, save_continue = 0x7ffff76e5b30 <fail_mailbox_save_continue>, save_finish = 0x7ffff69cfe30 <quota_save_finish>, save_cancel = 0x7ffff76e5b50 <fail_mailbox_save_cancel>, copy = 0x7ffff69cfd30 <quota_copy>, transaction_save_commit_pre = 0x0, transaction_save_commit_post = 0x0, transaction_save_rollback = 0x0, is_inconsistent = 0x7ffff76e5b...
2008 Mar 10
2
dovecot 1.1.rc3 assertion failed at index_mailbox_set_recent_uid while deleting message with thunderbird.
To some users happens this assertion failure while deleting a message. dovecot: Mar 10 08:40:44 Panic: IMAP(user): file index-sync.c: line 39 (index_mailbox_set_recent_uid): assertion failed: (seq_range_exists (&ibox->recent_flags, uid)) dovecot: Mar 10 08:40:44 Error: IMAP(user): Raw backtrace: [see bleow] dovecot: Mar 10 08:40:44 Error: child 17683 (imap) killed with signal 6 And the
2006 May 22
1
beta8: cores on corrupted index file
...= 0x4ce2c <index_storage_search_deinit>, search_next = 0x4c0cc <index_storage_search_next>, search_next_update_seq = 0x4c00c <index_storage_search_next_update_seq>, save_init = 0x37e28 <mbox_save_init>, save_continue = 0x37ab4 <mbox_save_continue>, save_finish = 0x37750 <mbox_save_finish>, save_cancel = 0x379c4 <mbox_save_cancel>, copy = 0x65384 <mail_storage_copy>, is_inconsistent = 0x4d598 <index_storage_is_inconsistent>}, pool = 0xbb3a0, module_contexts = {buffer = 0xbb540, element_size = 4}} (gdb) print flags $8...
2006 Jan 16
7
1.0 beta1 released
As promised, here it is finally. v1.0 is getting nearer and I want people to start looking at Dovecot's sources. Getting some more help with development would be nice, but I'd also like to hear if there are any hidden bugs in the code. So, one week from now I'll start offering 1000 EUR for the first person to point out a remotely exploitable security hole in Dovecot. See