Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with sievec #16

Closed
odhiambo opened this issue Feb 20, 2019 · 12 comments
Closed

Error with sievec #16

odhiambo opened this issue Feb 20, 2019 · 12 comments

Comments

@odhiambo
Copy link

Ubuntu-18.04:

root@lists:/home/wash/Xapian/fts-xapian# sievec /var/lib/dovecot/sieve/default.sieve
sievec(root): Fatal: Couldn't load required plugin /usr/lib/dovecot/modules/lib21_fts_xapian_plugin.so: dlopen() failed: /usr/lib/dovecot/modules/lib21_fts_xapian_plugin.so: undefined symbol: _ZTIN6icu_608ByteSinkE

@grosjo
Copy link
Owner

grosjo commented Feb 23, 2019

Can you share your config file ? (doveconf -n)

@grosjo
Copy link
Owner

grosjo commented Feb 25, 2019

ping ?

@odhiambo
Copy link
Author

odhiambo commented Feb 26, 2019 via email

@grosjo
Copy link
Owner

grosjo commented Feb 26, 2019 via email

@odhiambo
Copy link
Author

odhiambo commented Feb 26, 2019 via email

@grosjo
Copy link
Owner

grosjo commented Feb 26, 2019

Can you give the output of
ldd lib21_fts_xapian_plugin.so

@odhiambo
Copy link
Author

odhiambo commented Feb 26, 2019 via email

@grosjo
Copy link
Owner

grosjo commented Feb 26, 2019 via email

@odhiambo
Copy link
Author

odhiambo commented Feb 26, 2019 via email

@grosjo
Copy link
Owner

grosjo commented Feb 26, 2019

Please fix some issues in your configuration file:

Add in the top paragraph:

mail_gid = Debian-exim
mail_uid = Debian-exim
default_vsz_limit = 2GB

Remove:

protocol imap { mail_plugins = " fts fts_xapian sieve" }
protocol pop3 { mail_plugins = " fts fts_xapian" } 
protocol submission { mail_plugins = " fts fts_xapian" }

Fix:
protocols = imap pop3 lmtp sieve sieve
into
protocols = imap pop3 lmtp sieve

You have 2 "userdb" paragraph

userdb { driver = passwd } 
userdb { args = /etc/dovecot/dovecot-sql.conf.ext driver = sql }

You must choose only one (either unix auth or sql auth )

Replace:
protocol lda { info_log_path = /var/log/dovecot/lda.log log_path = /var/log/dovecot/lda-errors.log mail_plugins = " fts fts_xapian sieve" }
by

protocol lda { 
info_log_path = /var/log/dovecot/lda.log 
log_path = /var/log/dovecot/lda-errors.log 
mail_plugins = $mail_plugins sieve
}

Start "plugin" paragaph with:

plugin {
        plugin = fts fts_xapian managesieve sieve

and remove the other "plugin = .." line

@odhiambo
Copy link
Author

odhiambo commented Feb 27, 2019 via email

@grosjo
Copy link
Owner

grosjo commented Feb 28, 2019

It looks ok.

As far as Xapian FTS plugin is concerned, I consider the problem solved.

For Dovecot support, you may contact the Dovecot mailing list directly : dovecot@dovecot.org

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants