On 03/23/2015 04:34 AM, rooster wrote:
Hello list,
I have been struggling with establishing a working installation of dovecot with mySQL quota support. I have not been able to find a guide or tutorial that works for the current revisions of software I have at my disposal.
Most notably, the error I see in the mail log is as follows :
Mar 23 00:55:31 host dovecot: lmtp(328): Debug: Module loaded: /usr/lib/dovecot/modules/lib10_quota_plugin.so Mar 23 00:55:31 host dovecot: lmtp(328): Error: dlopen(/usr/lib/dovecot/modules/lib11_imap_quota_plugin.so) failed: /usr/lib/dovecot/modules/lib11_imap_quota_plugin.so: undefined symbol: command_unregister Mar 23 00:55:31 host dovecot: lmtp(328): Fatal: Couldn't load required plugins
I have attached my dovecot -n output. The installed revision of dovecot is 2.2.9 on ubuntu 14.04.02 LTS.
Thank you in advance.
--
The imap_quota plugin is relevant only under protocol imap {}. It reports quota usage via the IMAP protocol. Under lmtp and any other protocol that can change quota usage, you need to load only the quota plugin, which does the actual work of accounting and enforcing the quota.