[Dovecot] modules directory
Hi!
I'm a little confused with how plugin loading works in dovecot 2, I can't seem to make it load from $(moduledir)/imap/. Is that intended to work? Just a configuration issue?
Reason I ask is that I ported my antispam plugin (I know there's a fork, but I still like mine better) to dovecot 2 and the default "make install" no longer loads properly with just "mail_plugins = antispam".
So is $(moduledir)/imap/ no longer used? I also notice acl/imap_acl now, but I still see subdirectories for at least auth.
Should I install into just $(moduledir)/ now?
johannes
On 24.11.2011, at 15.11, Johannes Berg wrote:
I'm a little confused with how plugin loading works in dovecot 2, I can't seem to make it load from $(moduledir)/imap/. Is that intended to work? Just a configuration issue?
Reason I ask is that I ported my antispam plugin (I know there's a fork, but I still like mine better) to dovecot 2 and the default "make install" no longer loads properly with just "mail_plugins = antispam".
So is $(moduledir)/imap/ no longer used? I also notice acl/imap_acl now, but I still see subdirectories for at least auth.
There's no /imap/ directory anymore, because it was annoying having to create symlinks to most of the plugins. Then with v2.0 there came new binaries and it wouldn't have made much sense adding lots of more directories with lots of more symlinks..
Should I install into just $(moduledir)/ now?
Yep.
On Thu, 2011-11-24 at 16:02 +0200, Timo Sirainen wrote:
On 24.11.2011, at 15.11, Johannes Berg wrote:
I'm a little confused with how plugin loading works in dovecot 2, I can't seem to make it load from $(moduledir)/imap/. Is that intended to work? Just a configuration issue?
Reason I ask is that I ported my antispam plugin (I know there's a fork, but I still like mine better) to dovecot 2 and the default "make install" no longer loads properly with just "mail_plugins = antispam".
So is $(moduledir)/imap/ no longer used? I also notice acl/imap_acl now, but I still see subdirectories for at least auth.
There's no /imap/ directory anymore, because it was annoying having to create symlinks to most of the plugins. Then with v2.0 there came new binaries and it wouldn't have made much sense adding lots of more directories with lots of more symlinks..
Should I install into just $(moduledir)/ now?
Yep.
Alright, thanks! Do you remember if that would be compatible with older versions as well, or do those require it being in /imap/?
johannes
On 24.11.2011, at 16.13, Johannes Berg wrote:
Should I install into just $(moduledir)/ now?
Yep.
Alright, thanks! Do you remember if that would be compatible with older versions as well, or do those require it being in /imap/?
What changed was that the default mail_plugin_dir changed from being $moduledir/imap to just plain $moduledir. So older versions require it being in imap/ by default.
On Thu, 2011-11-24 at 16:15 +0200, Timo Sirainen wrote:
On 24.11.2011, at 16.13, Johannes Berg wrote:
Should I install into just $(moduledir)/ now?
Yep.
Alright, thanks! Do you remember if that would be compatible with older versions as well, or do those require it being in /imap/?
What changed was that the default mail_plugin_dir changed from being $moduledir/imap to just plain $moduledir. So older versions require it being in imap/ by default.
Ok, thanks. I'll find a way to make it depend on the version.
johannes
participants (2)
-
Johannes Berg
-
Timo Sirainen