[Dovecot] [PATCH] dovadm plugins underlinking

Timo Sirainen tss at iki.fi
Fri Oct 12 10:45:05 EEST 2012


On 10.10.2012, at 15.17, Natanael Copa wrote:

> On Wed, Oct 10, 2012 at 12:22 PM, Timo Sirainen <tss at iki.fi> wrote:
>> On 10.10.2012, at 13.00, Natanael Copa wrote:
>> 
>>> Running doveadm on Alpine Linux will show various underlinking errors:
> 
>> With doveadm the similar behavior is done for pretty much the same reason. doveadm tries to load all of the plugins, and it intentionally fails for those that fail to load due to not being enabled in mail_plugins setting. doveadm acl command shouldn't work if acl plugin isn't enabled.
> 
> Why does it need to load all the plugins? Why not only try to load
> those who are enabled?

doveadm has two types of commands: mail commands and non-mail commands. The mail_plugins can add new mail features, and doveadm plugins can add more doveadm commands, which use the new mail features. But doveadm can also have plugins that add non-mail commands, which don't need anything in mail_plugins. So both cases would need to work..



More information about the dovecot mailing list