[Dovecot] Re: Plugin development
Timo Sirainen
tss at iki.fi
Mon Aug 15 01:02:39 EEST 2005
On Sat, 2005-07-23 at 19:25 +0200, Sebastjan Trepca wrote:
> Hm, It seems it comes to a recursive loop. The problem is that I
> override storage->v.mailbox_open method with my own, but then use the
> same method to get the mailbox inside the method and of course the
> thing loops as hell. But it's almost the same in Quota plugin, there
> is just that qstorage, but also uses super.mailbox_open which is the
> current method that is being executed.
>
> So, how could I get a mailbox? Should I call
> maildir-storage.mailbox_open?
The original mailbox_open should have been stored in "super" variable
like the quota code does, so you should call it..
> Btw, original Quota plugin doesn't work.
> dovecot: Jul 23 19:26:07 Error: IMAP(seba):
> dlopen(/usr/lib/dovecot/modules/imap_quota.so)
> failed: /usr/lib/dovecot/modules/imap_quota.so: undefined symbol:
> array_modifyable_idx
Fixed and updated the tarball.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20050815/d12bd0dd/attachment-0001.pgp
More information about the dovecot
mailing list