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