12 Dec
2008
12 Dec
'08
1:59 a.m.
On Thu, 2008-12-11 at 17:57 +0100, Adrian Reber wrote:
An alternative to patching would be for you to create a plugin that hooks into mail_storage.mailbox_open() and adds the MAILBOX_OPEN_READONLY flag before calling super.mailbox_open(). See e.g. mail_log plugin for an example.
Ah, okay. I assume it is possible to develop a plugin which is completely outside of the main source tree and just uses the public interfaces. Right?
Well, I'm not sure about the "public" term, but .. yes, that's how plugins are normally developed. Dovecot's APIs aren't very stable across non-micro versions.