[Dovecot] sieve dovecot2 rc1 error undefined symbol: client_send_tagline
Hi @ll, using sieve dovecot2 rc1 on testing system ubuntu lucid with packs recompiled from http://xi.rename-it.nl/debian/
i have
Jul 05 11:48:35 managesieve: Debug: Module loaded: /usr/lib/dovecot/modules/lib01_acl_plugin.so
Jul 05 11:48:35 managesieve: Error: dlopen(/usr/lib/dovecot/modules/lib02_imap_acl_plugin.so) failed: /usr/lib/dovecot/modules/lib02_imap_acl_plugin.so: undefined symbol: client_send_tagline Jul 05 11:48:35 managesieve: Fatal: Couldn't load required plugins
allready known ?
Best Regards
MfG Robert Schetterer
Germany/Munich/Bavaria
On Mon, 2010-07-05 at 11:53 +0200, Robert Schetterer wrote:
Jul 05 11:48:35 managesieve: Error: dlopen(/usr/lib/dovecot/modules/lib02_imap_acl_plugin.so) failed: /usr/lib/dovecot/modules/lib02_imap_acl_plugin.so: undefined symbol: client_send_tagline Jul 05 11:48:35 managesieve: Fatal: Couldn't load required plugins
You're trying to load imap-acl plugin for managesieve. That doesn't work. You need to keep that plugin inside protocol imap {}
Am 05.07.2010 13:07, schrieb Timo Sirainen:
On Mon, 2010-07-05 at 11:53 +0200, Robert Schetterer wrote:
Jul 05 11:48:35 managesieve: Error: dlopen(/usr/lib/dovecot/modules/lib02_imap_acl_plugin.so) failed: /usr/lib/dovecot/modules/lib02_imap_acl_plugin.so: undefined symbol: client_send_tagline Jul 05 11:48:35 managesieve: Fatal: Couldn't load required plugins
You're trying to load imap-acl plugin for managesieve. That doesn't work. You need to keep that plugin inside protocol imap {}
hm that seems no to be the point here failure apears with and without acl and imap_acl in
/etc/dovecot/conf.d/20-managesieve.conf
after all it braked upgrading to rc1 ( before it was good )
service managesieve-login { inet_listener { # Bind the daemon only to the specified address(es) # (default: *, ::) address = 127.0.0.1 # Specify an alternative port the daemon must listen on # (default: 4190) port = 2000 } }
service managesieve { # Max. number of ManageSieve processes (connections) #process_count = 1024 }
# Service configuration
protocol sieve { # Maximum ManageSieve command line length in bytes. Some clients generate very long # command lines with huge mailboxes, so you may need to raise this if you get # "Too long argument" or "ManageSieve command line too large" errors often. #managesieve_max_line_length = 65536
# Maximum number of ManageSieve connections allowed for a user from each IP address. # NOTE: The username is compared case-sensitively. #mail_max_userip_connections = 10
# Space separated list of plugins to load (none known so far). #mail_plugins = expire virtual quota imap_quota imap_acl acl fts fts_squat mail_log autocreate notify mail_plugins = expire virtual quota fts fts_squat mail_log autocreate notify
# MANAGESIEVE logout format string: # %i - total number of bytes read from client # %o - total number of bytes sent to client #managesieve_logout_format = bytes=%i/%o
# To fool ManageSieve clients that are focused on CMU's timesieved you can specify # the IMPLEMENTATION capability that the dovecot reports to clients. # For example: 'Cyrus timsieved v2.2.13' managesieve_implementation_string = Dovecot
# Explicitly specify the SIEVE capability reported by the server before login. # After login, the sieve capabilities are reported by the Sieve interpreter and # reflect what's really allowed/supported for the user that is logged in. #managesieve_sieve_capability = }
/etc/dovecot/conf.d/20-managesieve.conf
## ## IMAP specific settings ##
protocol imap { # Maximum IMAP command line length. Some clients generate very long command # lines with huge mailboxes, so you may need to raise this if you get # "Too long argument" or "IMAP command line too large" errors often. imap_max_line_length = 64k
# Maximum number of IMAP connections allowed for a user from each IP address. # NOTE: The username is compared case-sensitively. mail_max_userip_connections = 10
# Space separated list of plugins to load (default is global mail_plugins). mail_plugins = imap_acl acl fts fts_squat mail_log autocreate notify expire virtual quota imap_quota
-- Best Regards
MfG Robert Schetterer
Germany/Munich/Bavaria
On Mon, 2010-07-05 at 13:29 +0200, Robert Schetterer wrote:
Jul 05 11:48:35 managesieve: Error: dlopen(/usr/lib/dovecot/modules/lib02_imap_acl_plugin.so) failed: /usr/lib/dovecot/modules/lib02_imap_acl_plugin.so: undefined symbol: client_send_tagline Jul 05 11:48:35 managesieve: Fatal: Couldn't load required plugins
You're trying to load imap-acl plugin for managesieve. That doesn't work. You need to keep that plugin inside protocol imap {}
hm that seems no to be the point here failure apears with and without acl and imap_acl
Seems to work with me. What do you get with:
doveconf -x mail_plugins doveconf -f service=sieve -x mail_plugins
Am 05.07.2010 13:51, schrieb Timo Sirainen:
On Mon, 2010-07-05 at 13:29 +0200, Robert Schetterer wrote:
Jul 05 11:48:35 managesieve: Error: dlopen(/usr/lib/dovecot/modules/lib02_imap_acl_plugin.so) failed: /usr/lib/dovecot/modules/lib02_imap_acl_plugin.so: undefined symbol: client_send_tagline Jul 05 11:48:35 managesieve: Fatal: Couldn't load required plugins
You're trying to load imap-acl plugin for managesieve. That doesn't work. You need to keep that plugin inside protocol imap {}
hm that seems no to be the point here failure apears with and without acl and imap_acl
Seems to work with me. What do you get with:
doveconf -x mail_plugins doveconf -f service=sieve -x mail_plugins
doveconf -x mail_plugins mail_plugins = expire virtual quota imap_quota imap_acl acl fts fts_squat mail_log autocreate notify root@master:~# doveconf -f service=sieve -x mail_plugins mail_plugins = expire virtual quota fts fts_squat mail_log autocreate notify root@master:~#
-- Best Regards
MfG Robert Schetterer
Germany/Munich/Bavaria
On Mon, 2010-07-05 at 13:54 +0200, Robert Schetterer wrote:
doveconf -x mail_plugins mail_plugins = expire virtual quota imap_quota imap_acl acl fts fts_squat mail_log autocreate notify
You have imap plugins enabled globally.
Am 05.07.2010 14:13, schrieb Timo Sirainen:
On Mon, 2010-07-05 at 13:54 +0200, Robert Schetterer wrote:
doveconf -x mail_plugins mail_plugins = expire virtual quota imap_quota imap_acl acl fts fts_squat mail_log autocreate notify
You have imap plugins enabled globally.
yeah and whats the problem with it i dont understand unless it worked before update and seperatly configured with each server which should overide global, and where is global defined ?
conf.d/20-pop3.conf: # Space separated list of plugins to load (default is global mail_plugins). conf.d/20-pop3.conf: mail_plugins = expire virtual quota mail_log fts fts_squat notify conf.d/90-quota.conf:# Note that you also have to enable quota plugin in mail_plugins setting. conf.d/90-sieve.conf:# by adding it to the mail_plugins= settings. conf.d/15-lda.conf: # Space separated list of plugins to load (default is global mail_plugins). conf.d/15-lda.conf: mail_plugins = quota sieve virtual acl fts fts_squat mail_log notify conf.d/90-plugin.conf:# All wanted plugins must be listed in mail_plugins setting before any of these conf.d/10-mail.conf:mail_plugins = expire virtual quota imap_quota imap_acl acl fts fts_squat mail_log autocreate notify conf.d/10-mail.conf.ucf-dist:#mail_plugins = conf.d/90-sieve.conf.ucf-dist:# by adding it to the mail_plugins= settings. conf.d/20-imap.conf.ucf-dist: # Space separated list of plugins to load (default is global mail_plugins). conf.d/20-imap.conf.ucf-dist: #mail_plugins = $mail_plugins conf.d/90-plugin.conf.ucf-dist:# All wanted plugins must be listed in mail_plugins setting before any of the conf.d/20-managesieve.conf.ucf-old: #mail_plugins = expire virtual quota imap_quota imap_acl acl fts fts_squat mail_log autocreate notify conf.d/20-managesieve.conf.ucf-old:mail_plugins = expire virtual quota acl fts fts_squat mail_log autocreate notify conf.d/20-managesieve.conf: #mail_plugins = expire virtual quota imap_quota imap_acl acl fts fts_squat mail_log autocreate notify conf.d/20-managesieve.conf:mail_plugins = expire virtual quota fts fts_squat mail_log autocreate notify conf.d/20-lmtp.conf: # Space separated list of plugins to load (default is global mail_plugins). conf.d/20-lmtp.conf: mail_plugins = quota sieve virtual acl fts fts_squat mail_log notify conf.d/20-imap.conf: # Space separated list of plugins to load (default is global mail_plugins). conf.d/20-imap.conf: mail_plugins = imap_acl acl fts fts_squat mail_log autocreate notify expire virtual quota imap_quota
-- Best Regards
MfG Robert Schetterer
Germany/Munich/Bavaria
Am 05.07.2010 14:23, schrieb Robert Schetterer:
Am 05.07.2010 14:13, schrieb Timo Sirainen:
On Mon, 2010-07-05 at 13:54 +0200, Robert Schetterer wrote:
doveconf -x mail_plugins mail_plugins = expire virtual quota imap_quota imap_acl acl fts fts_squat mail_log autocreate notify
You have imap plugins enabled globally.
yeah and whats the problem with it i dont understand unless it worked before update and seperatly configured with each server which should overide global, and where is global defined ?
conf.d/20-pop3.conf: # Space separated list of plugins to load (default is global mail_plugins). conf.d/20-pop3.conf: mail_plugins = expire virtual quota mail_log fts fts_squat notify conf.d/90-quota.conf:# Note that you also have to enable quota plugin in mail_plugins setting. conf.d/90-sieve.conf:# by adding it to the mail_plugins= settings. conf.d/15-lda.conf: # Space separated list of plugins to load (default is global mail_plugins). conf.d/15-lda.conf: mail_plugins = quota sieve virtual acl fts fts_squat mail_log notify conf.d/90-plugin.conf:# All wanted plugins must be listed in mail_plugins setting before any of these conf.d/10-mail.conf:mail_plugins = expire virtual quota imap_quota imap_acl acl fts fts_squat mail_log autocreate notify conf.d/10-mail.conf.ucf-dist:#mail_plugins = conf.d/90-sieve.conf.ucf-dist:# by adding it to the mail_plugins= settings. conf.d/20-imap.conf.ucf-dist: # Space separated list of plugins to load (default is global mail_plugins). conf.d/20-imap.conf.ucf-dist: #mail_plugins = $mail_plugins conf.d/90-plugin.conf.ucf-dist:# All wanted plugins must be listed in mail_plugins setting before any of the conf.d/20-managesieve.conf.ucf-old: #mail_plugins = expire virtual quota imap_quota imap_acl acl fts fts_squat mail_log autocreate notify conf.d/20-managesieve.conf.ucf-old:mail_plugins = expire virtual quota acl fts fts_squat mail_log autocreate notify conf.d/20-managesieve.conf: #mail_plugins = expire virtual quota imap_quota imap_acl acl fts fts_squat mail_log autocreate notify conf.d/20-managesieve.conf:mail_plugins = expire virtual quota fts fts_squat mail_log autocreate notify conf.d/20-lmtp.conf: # Space separated list of plugins to load (default is global mail_plugins). conf.d/20-lmtp.conf: mail_plugins = quota sieve virtual acl fts fts_squat mail_log notify conf.d/20-imap.conf: # Space separated list of plugins to load (default is global mail_plugins). conf.d/20-imap.conf: mail_plugins = imap_acl acl fts fts_squat mail_log autocreate notify expire virtual quota imap_quota
ok looks like mail_plugins = expire virtual fts fts_squat mail_log autocreate notify conf.d/10-mail.conf fixed it
hopefully this does not break others
Best Regards
MfG Robert Schetterer
Germany/Munich/Bavaria
On Mon, 2010-07-05 at 14:23 +0200, Robert Schetterer wrote:
You have imap plugins enabled globally.
yeah and whats the problem with it i dont understand unless it worked before update and seperatly configured with each server which should overide global, and where is global defined ?
If it's not inside protocol section, it's global.
conf.d/10-mail.conf:mail_plugins = expire virtual quota imap_quota imap_acl acl fts fts_squat mail_log autocreate notify
Above you shouldn't have any imap_ stuff. They should be in 20-imap.conf inside protocol imap {}, like they probably are here:
conf.d/20-imap.conf: mail_plugins = imap_acl acl fts fts_squat mail_log autocreate notify expire virtual quota imap_quota
Robert Schetterer wrote:
conf.d/20-managesieve.conf: #mail_plugins = expire virtual quota imap_quota imap_acl acl fts fts_squat mail_log autocreate notify conf.d/20-managesieve.conf:mail_plugins = expire virtual quota fts fts_squat mail_log autocreate notify
There are no ManageSieve plugins, nor are there currently any generic mail plugins that ManageSieve could load usefully. The above line is asking for trouble.
Regards,
Stephan.
participants (3)
-
Robert Schetterer
-
Stephan Bosch
-
Timo Sirainen