Trever L. Adams
2010-Jul-13 19:41 UTC
[Dovecot] mailbox_storage_vfuncs: mailbox_open -> ? in 2.0
Hello, I am working on fixing dovecot-antispam to work with dovecot 2.0. I am down to three errors/warnigns that concern me. The one I need help from those more familiar with dovecot internals is in the subject. What happened to mailbox_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->v.copy = antispam_copy; } if (need_keyword_hook) box->v.mail_alloc = antispam_mailbox_mail_alloc; Thank you for any help. Trever -- A traveler on the information superhighway who often stops and looks around...
Timo Sirainen
2010-Jul-13 19:47 UTC
[Dovecot] mailbox_storage_vfuncs: mailbox_open -> ? in 2.0
On Tue, 2010-07-13 at 13:41 -0600, Trever L. Adams wrote:> I am working on fixing dovecot-antispam to work with dovecot 2.0.You're actually a bit late :) Eugene Paskevich <eugene at raptor.kiev.ua> has been working on it for a while now and apparently it's nearly done. We were just about to put the repo to hg.dovecot.org.> I am > down to three errors/warnigns that concern me. > > The one I need help from those more familiar with dovecot internals is > in the subject. What happened to mailbox_open? Did it disappear? Did it > get renamed?With v1.x you could only open+close a mailbox. Now you can alloc, open/close multiple times, free.
Possibly Parallel Threads
- Running dsync results in Panic: file mbox-lock.c: line 799 (mbox_lock)
- sys/dev/ie/if_ie.c warnigns in yesterdays CVSup
- [PATCH 0 of 7] Miscellaneous updates
- Using IMAP keywords instead of mailboxes for spam with dovecot-antispam
- antispam plugin, amavis and sa-learn