[Dovecot] sieve not working if i have override

Paul A razor at meganet.net
Tue Feb 8 01:33:39 EET 2011


Hi, 

 

I have a few domain that I'm overriding the mail_plugins, see password query
below, however when I use this password query everything is working expect
sieve gives me an error. How can I get around this problem?

 

 

 

password_query = SELECT username as user, password, \

if('%d' IN ('virttest1.xxx.net', 'test2000.com'), \

'quota imap_quota trash expire autocreate acl imap_acl',null) as
userdb_mail_plugins, \

101 as userdb_uid, 502 as userdb_gid, CONCAT('*:bytes=', CAST(quota AS
CHAR)) AS quota_rule FROM mailbox WHERE username = '%u'

 

Feb  7 18:28:20 testip5 dovecot: managesieve: Debug: Loading modules from
directory: /usr/local/lib/dovecot

Feb  7 18:28:20 testip5 dovecot: managesieve: Debug: Module loaded:
/usr/local/lib/dovecot/lib10_quota_plugin.so

Feb  7 18:28:20 testip5 dovecot: managesieve: Debug: Module loaded:
/usr/local/lib/dovecot/lib11_trash_plugin.so

Feb  7 18:28:20 testip5 dovecot: managesieve: Debug: Module loaded:
/usr/local/lib/dovecot/lib20_expire_plugin.so

Feb  7 18:28:20 testip5 dovecot: managesieve: Debug: Added userdb setting:
mail_plugins=quota imap_quota trash expire autocreate acl imap_acl

Feb  7 18:28:20 testip5 dovecot: managesieve: Debug: Loading modules from
directory: /usr/local/lib/dovecot

Feb  7 18:28:20 testip5 dovecot: managesieve: Debug: Module loaded:
/usr/local/lib/dovecot/lib01_acl_plugin.so

Feb  7 18:28:20 testip5 dovecot: managesieve: Error:
dlopen(/usr/local/lib/dovecot/lib02_imap_acl_plugin.so) failed:
/usr/local/lib/dovecot/lib02_imap_acl_plugin.so: undefined symbol:
client_send_tagline

Feb  7 18:28:20 testip5 dovecot: managesieve: Error: Can't load plugin
imap_acl_plugin: Plugin is intended to be used only by imap binary (we're
managesieve)

Feb  7 18:28:20 testip5 dovecot: managesieve: Fatal: Couldn't load required
plugins

 

It also complains about imap_quota.

 

Dovecot 2.x

 

Thanks, paul



More information about the dovecot mailing list