Managesieve stopped working - Undefined symbol "i_stream_read_memarea"
After upgrading Dovecot to 2.3.2.1 and Pigeonhole to 0.5.2, managesieve stopped working.
I'm using FreeBSD ports tree, to build these. Only domains have been modified in below output.
A FreeBSD bug report have also been created. But I'm not sure if this is FreeBSD ports related or Dovecot/Pigeonhole related: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228067
%uname -a FreeBSD 10.4-RELEASE-p9 FreeBSD 10.4-RELEASE-p9 #0: Sat Jul 14 22:38:37 CEST 2018 /usr/obj/usr/src/sys/GENERIC amd64
%pkg version -v dovecot-2.3.2.1 = up-to-date with index dovecot-pigeonhole-0.5.2_2 = up-to-date with index
%dmesg -a /usr/local/libexec/dovecot/managesieve: Undefined symbol "i_stream_read_memarea" doveconf: Error: managesieve-login: dump-capability process returned 1
% dovecot -n # 2.3.2.1 (0719df592): /usr/local/etc/dovecot/dovecot.conf # Pigeonhole version 0.5.2 (7704de5e) /usr/local/libexec/dovecot/managesieve: Undefined symbol "i_stream_read_memarea" doveconf: Error: managesieve-login: dump-capability process returned 1 # OS: FreeBSD 10.4-RELEASE-p9 amd64 # Hostname: mail.example.com auth_mechanisms = plain login first_valid_uid = 125 hostname = mail.example.com listen = * log_path = /var/log/dovecot mail_plugins = zlib mail_privileged_group = postfix mail_temp_dir = /var/db/dovecot namespace compat { hidden = yes inbox = no list = no location = prefix = INBOX. separator = . type = private } namespace inbox { inbox = yes location = mailbox Drafts { special_use = \Drafts } mailbox "Sent Items" { special_use = \Sent } mailbox Spam { special_use = \Junk } mailbox Trash { special_use = \Trash } prefix = separator = . type = private } passdb { args = /usr/local/etc/dovecot/dovecot-sql.conf.ext driver = sql } plugin { fts = squat fts_squat = partial=4 full=10 sieve = ~/.dovecot.sieve sieve_dir = ~/sieve } postmaster_address = postmaster@example.com protocols = imap pop3 lmtp sieve service auth-worker { user = $default_internal_user } service auth { unix_listener /home/mail/postfix/private/dovecot-auth { group = postfix mode = 0660 user = postfix } } service lmtp { executable = lmtp -L unix_listener /home/mail/postfix/private/dovecot-lmtp { group = postfix mode = 0660 user = postfix } } ssl_cert =
On 15-07-2018 11:42, Henrik Larsson wrote:
After upgrading Dovecot to 2.3.2.1 and Pigeonhole to 0.5.2, managesieve stopped working.
I'm using FreeBSD ports tree, to build these. Only domains have been modified in below output.
A FreeBSD bug report have also been created. But I'm not sure if this is FreeBSD ports related or Dovecot/Pigeonhole related: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228067
[Removed output from "uname", "pkg version", "dmesg" and "dovecot -n" from my original post]
Anyone able to give me some input how to solve this?
Best regards Henrik Larsson
On 02 August 2018 at 16:08 Henrik Larsson dovecot-user@spambox.dk wrote:
On 15-07-2018 11:42, Henrik Larsson wrote:
After upgrading Dovecot to 2.3.2.1 and Pigeonhole to 0.5.2, managesieve stopped working.
I'm using FreeBSD ports tree, to build these. Only domains have been modified in below output.
A FreeBSD bug report have also been created. But I'm not sure if this is FreeBSD ports related or Dovecot/Pigeonhole related: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228067
[Removed output from "uname", "pkg version", "dmesg" and "dovecot -n" from my original post]
Anyone able to give me some input how to solve this?
Best regards Henrik Larsson
Hi!
i_stream_read_memarea was added in v2.3.0.
Can you try uninstalling /usr/local/libexec/dovecot/managesieve, recompiling pigeonhole 0.5.2 and reinstalling it?
Aki
On 02-08-2018 15:16, Aki Tuomi wrote:
On 02 August 2018 at 16:08 Henrik Larsson dovecot-user@spambox.dk wrote:
On 15-07-2018 11:42, Henrik Larsson wrote:
After upgrading Dovecot to 2.3.2.1 and Pigeonhole to 0.5.2, managesieve stopped working.
I'm using FreeBSD ports tree, to build these. Only domains have been modified in below output.
A FreeBSD bug report have also been created. But I'm not sure if this is FreeBSD ports related or Dovecot/Pigeonhole related: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228067
[Removed output from "uname", "pkg version", "dmesg" and "dovecot -n" from my original post]
Anyone able to give me some input how to solve this?
Best regards Henrik Larsson
Hi!
i_stream_read_memarea was added in v2.3.0.
Can you try uninstalling /usr/local/libexec/dovecot/managesieve, recompiling pigeonhole 0.5.2 and reinstalling it?
Aki
Re-compiled today, same error.
/usr/local/libexec/dovecot # ll managesieve -rwxr-xr-x 1 root wheel 64664 2 aug 14:50 managesieve*
From Dovecot log: Aug 02 15:09:10 master: Info: Dovecot v2.3.2.1 (0719df592) starting up for imap, pop3, lmtp, sieve Aug 02 15:09:10 config: Error: /usr/local/libexec/dovecot/managesieve: Undefined symbol "i_stream_read_memarea" Aug 02 15:09:10 config: Error: managesieve-login: dump-capability process returned 1
/Henrik
On 02 August 2018 at 16:22 Henrik Larsson dovecot-user@spambox.dk wrote:
On 02-08-2018 15:16, Aki Tuomi wrote:
On 02 August 2018 at 16:08 Henrik Larsson dovecot-user@spambox.dk wrote:
On 15-07-2018 11:42, Henrik Larsson wrote:
After upgrading Dovecot to 2.3.2.1 and Pigeonhole to 0.5.2, managesieve stopped working.
I'm using FreeBSD ports tree, to build these. Only domains have been modified in below output.
A FreeBSD bug report have also been created. But I'm not sure if this is FreeBSD ports related or Dovecot/Pigeonhole related: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228067
[Removed output from "uname", "pkg version", "dmesg" and "dovecot -n" from my original post]
Anyone able to give me some input how to solve this?
Best regards Henrik Larsson
Hi!
i_stream_read_memarea was added in v2.3.0.
Can you try uninstalling /usr/local/libexec/dovecot/managesieve, recompiling pigeonhole 0.5.2 and reinstalling it?
Aki
Re-compiled today, same error.
/usr/local/libexec/dovecot # ll managesieve -rwxr-xr-x 1 root wheel 64664 2 aug 14:50 managesieve*
From Dovecot log: Aug 02 15:09:10 master: Info: Dovecot v2.3.2.1 (0719df592) starting up for imap, pop3, lmtp, sieve Aug 02 15:09:10 config: Error: /usr/local/libexec/dovecot/managesieve: Undefined symbol "i_stream_read_memarea" Aug 02 15:09:10 config: Error: managesieve-login: dump-capability process returned 1
/Henrik
Can you do
ldd /usr/local/libexec/dovecot/managesieve
and make sure it points to correct libdovecot.so?
Aki
On 02-08-2018 15:29, Aki Tuomi wrote:
On 02 August 2018 at 16:22 Henrik Larsson dovecot-user@spambox.dk wrote:
On 02-08-2018 15:16, Aki Tuomi wrote:
On 02 August 2018 at 16:08 Henrik Larsson dovecot-user@spambox.dk wrote:
On 15-07-2018 11:42, Henrik Larsson wrote:
After upgrading Dovecot to 2.3.2.1 and Pigeonhole to 0.5.2, managesieve stopped working.
I'm using FreeBSD ports tree, to build these. Only domains have been modified in below output.
A FreeBSD bug report have also been created. But I'm not sure if this is FreeBSD ports related or Dovecot/Pigeonhole related: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228067
[Removed output from "uname", "pkg version", "dmesg" and "dovecot -n" from my original post]
Anyone able to give me some input how to solve this?
Best regards Henrik Larsson
Hi!
i_stream_read_memarea was added in v2.3.0.
Can you try uninstalling /usr/local/libexec/dovecot/managesieve, recompiling pigeonhole 0.5.2 and reinstalling it?
Aki
Re-compiled today, same error.
/usr/local/libexec/dovecot # ll managesieve -rwxr-xr-x 1 root wheel 64664 2 aug 14:50 managesieve*
From Dovecot log: Aug 02 15:09:10 master: Info: Dovecot v2.3.2.1 (0719df592) starting up for imap, pop3, lmtp, sieve Aug 02 15:09:10 config: Error: /usr/local/libexec/dovecot/managesieve: Undefined symbol "i_stream_read_memarea" Aug 02 15:09:10 config: Error: managesieve-login: dump-capability process returned 1
/Henrik
Can you do
ldd /usr/local/libexec/dovecot/managesieve
and make sure it points to correct libdovecot.so?
Aki
ldd showed that managesieve was linked to "libdovecot.so" in "/usr/local/lib/compat/pkg".
/usr/local/lib/compat/pkg # ll -rwxr-xr-x 1 root wheel 164080 28 mar 14:50 libdovecot-fts.so.0* -rwxr-xr-x 1 root wheel 46016 28 mar 14:50 libdovecot-lda.so.0* -rwxr-xr-x 1 root wheel 122808 28 mar 14:50 libdovecot-login.so.0* -rwxr-xr-x 1 root wheel 45728 28 mar 14:50 libdovecot-sql.so.0* -rwxr-xr-x 1 root wheel 1282080 28 mar 14:50 libdovecot-storage.so.0* -rwxr-xr-x 1 root wheel 1203968 28 mar 14:50 libdovecot.so.0*
I removed these and recompiled. Now it is indeed working again. I'm not sure how I ended up in this situation.
Thank you for the help.
/Henrik
participants (2)
-
Aki Tuomi
-
Henrik Larsson