[Dovecot] Expire/Quota error
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Using both 1.2rc5 and hg version a9d3108d0cec from today, when I run the expire tools program, I receive the following error.
# /usr/local/sbin/dovecot --exec-mail ext /usr/local/libexec/dovecot/expire-tool --test
/usr/local/sbin/dovecot --exec-mail ext /usr/local/libexec/dovecot/expire-tool --testError: dlopen(/usr/local/lib/dovecot/imap/lib10_quota_plugin.so) failed: /usr/local/lib/dovecot/imap/lib10_quota_plugin.so: undefined symbol: mountpoint_get
# 1.2.rc5: /usr/local/etc/dovecot.conf # OS: Linux 2.6.27.21-170.2.56.fc10.i686 i686 Fedora release 10 (Cambridge) ext3 protocols: imap imaps managesieve listen: *:143 ssl_listen: *:993 ssl_cert_file: /etc/postfix/SSL/mail.mattrude.com.cert ssl_key_file: /etc/postfix/SSL/mail.mattrude.com.key login_dir: /usr/local/var/run/dovecot/login login_executable: /usr/local/libexec/dovecot/imap-login login_user: postfix mail_location: maildir:/var/spool/virtualmailboxes/%d/%u/:INDEX=/var/spool/virtualmailboxes/.Index/%d/%u/ mail_plugins: autocreate expire quota imap_quota zlib auth default: mechanisms: plain login cram-md5 cache_size: 128 cache_ttl: 600 passdb: driver: sql args: /etc/dovecot-mysql.conf userdb: driver: sql args: /etc/dovecot-mysql.conf socket: type: listen client: path: /var/spool/postfix/private/auth mode: 432 user: postfix group: postfix master: path: /var/run/dovecot/auth-master mode: 384 user: virtualmail group: virtualmail plugin: autocreate: Drafts autocreate2: Sent autocreate3: Trash autocreate4: Junk autocreate5: Junk.IsSpam autocreate6: Junk.IsNotSpam autocreate7: Save autosubscribe: Drafts autosubscribe2: Sent autosubscribe3: Trash autosubscribe4: Junk autosubscribe5: Junk.IsSpam autosubscribe6: Junk.IsNotSpam autosubscribe7: Save auth_socket_path: /var/run/dovecot/auth-master expire: Trash 1 Junk 3 expire_dict: proxy::expire quota: maildir:User quota quota_rule: *:storage=10M quota_rule2: Trash:storage=10%% quota_rule3: Junk:storage=20%% sieve: /var/spool/virtualmailboxes/%d/%u/dovecot.sieve sieve_storage: = /var/spool/virtualmailboxes/%d/%u/ trash: /etc/dovecot-trash.conf dict: expire: db:/var/spool/imap/expire.db
Matt Rude - lists@mattrude.com - http://www.mattrude.com PGPkey: 5115332 https://mail.mattrude.com/keys/0x5115332E.asc Fingerprint: 0012 4A0A 3720 6268 1802 F66D 7DCA C0A7 5115 332E -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkopu4AACgkQfcrAp1EVMy5PrACeNtxU+z0NBFpmH0vxyO0ikWAy DucAnRLiJeOirhupfjB4ebqZ0uq8fmfA =Cow4 -----END PGP SIGNATURE-----
Matt Rude wrote:
Using both 1.2rc5 and hg version a9d3108d0cec from today, when I run the expire tools program, I receive the following error.
# /usr/local/sbin/dovecot --exec-mail ext /usr/local/libexec/dovecot/expire-tool --test
/usr/local/sbin/dovecot --exec-mail ext /usr/local/libexec/dovecot/expire-tool --testError: dlopen(/usr/local/lib/dovecot/imap/lib10_quota_plugin.so) failed: /usr/local/lib/dovecot/imap/lib10_quota_plugin.so: undefined symbol: mountpoint_get
The expire-tool uses now mail_plugins defined in protocol imap section.
Read the following thread for a workaround:
On Fri, 2009-06-05 at 19:42 -0500, Matt Rude wrote:
dlopen(/usr/local/lib/dovecot/imap/lib10_quota_plugin.so) failed: /usr/local/lib/dovecot/imap/lib10_quota_plugin.so: undefined symbol: mountpoint_get
Timo Sirainen wrote:
On Fri, 2009-06-05 at 19:42 -0500, Matt Rude wrote:
dlopen(/usr/local/lib/dovecot/imap/lib10_quota_plugin.so) failed: /usr/local/lib/dovecot/imap/lib10_quota_plugin.so: undefined symbol: mountpoint_get
Timo, thanks for the patch, but im still reciving error when trying to run a test off the newest build. I downloaded the latest hg version (1d343780e009), but I now recive this error.
[root@samantha dovecot-1-2-1d343780e009]# /usr/local/sbin/dovecot --exec-mail ext /usr/local/libexec/dovecot/expire-tool --test Error: dlopen(/usr/local/lib/dovecot/imap/lib11_imap_quota_plugin.so) failed: /usr/local/lib/dovecot/imap/lib11_imap_quota_plugin.so: undefined symbol: capability_string Fatal: Couldn't load required plugins
Thanks -matt
On Jun 16, 2009, at 12:41 AM, Matt Rude wrote:
Error: dlopen(/usr/local/lib/dovecot/imap/ lib11_imap_quota_plugin.so) failed: /usr/local/lib/dovecot/imap/lib11_imap_quota_plugin.so: undefined
symbol: capability_string
This is the problem e-frog mentioned in previous mail. http://dovecot.org/pipermail/dovecot/2009-June/040118.html
Timo Sirainen wrote:
On Jun 16, 2009, at 12:41 AM, Matt Rude wrote:
Error: dlopen(/usr/local/lib/dovecot/imap/lib11_imap_quota_plugin.so) failed: /usr/local/lib/dovecot/imap/lib11_imap_quota_plugin.so: undefined symbol: capability_string
This is the problem e-frog mentioned in previous mail. http://dovecot.org/pipermail/dovecot/2009-June/040118.html
Thanks, using e-frog's message, this is now working, thanks
-Matt
participants (3)
-
e-frog
-
Matt Rude
-
Timo Sirainen