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.