Fatal: Couldn't load required plugin /usr/lib/dovecot/lib90_sieve_plugin.so: dlopen() failed: Error relocating /usr/lib/dovecot/lib90_sieve_plugin.so: mail_deliver_get_return_address: symbol not found
Hi there,
I have a Postfix/Dovecot server which today I upgraded from Alpine Linux 3.21 to 3.22. In the process, Dovecot updated from 2.3.21 to 2.4.1, and I updated my Dovecot config accordingly. At least doveconf -n
runs without any error, and I'm able to start and run Dovecot.
For context, I am using a passwd file where I enter usernames and argon2id passwords manually, since it's just a small mail server where I am the only user. The setup was working fine with Dovecot 2.3.x, and I've sent and received lots of mail before the update.
However, I noticed that I'm no longer able to authenticate to the server since doing all the updates. I thought, maybe I should make sure the passwd file is correct with my password, so I tried running doveadm pw -s argon2id
. I then got the error:
Fatal: Couldn't load required plugin /usr/lib/dovecot/lib90_sieve_plugin.so: dlopen() failed: Error relocating /usr/lib/dovecot/lib90_sieve_plugin.so: mail_deliver_get_return_address: symbol not found
I assume this is the cause of the problem, ie Dovecot isn't able to authenticate as this error occurs when a login attempt is made (I think?).
I am not sure if this is an Alpine packaging issue or a Dovecot user issue, but just in case it's a user issue that I can fix myself, I thought to post here and ask if people know if there's something I can do to resolve this. I'm also posting to the Alpine mailing list in the case of it being an Alpine packaging issue.
I've attached the output of doveconf -n
; let me know if it's preferable to put this in the body of the email and I can send a reply with it in the body.
dovecot --version
is 2.4.1-4 (7d8c0e5759)
.
Example /var/log/dovecot.conf
authentication attempt:
May 31 21:50:41 auth: Debug: conn unix:login (pid=21015,uid=91) [1]: client in: AUTH 4 PLAIN protocol=imap final-resp-ok secured=tls session=ElBsg3U25ou51Zrs lip=93.113.25.226 rip=185.213.154.236 lport=993 rport=35814 ssl_ja3_hash=422b5eb1ed3e9bdf65e87a42ed96ba1f local_name=mail.revsuine.xyz resp=<hidden> May 31 21:50:41 auth(${user | username},185.213.154.236,sasl:plain)<ElBsg3U25ou51Zrs>: Debug: passwd-file: Performing passdb lookup May 31 21:50:41 auth(${user | username},185.213.154.236,sasl:plain)<ElBsg3U25ou51Zrs>: Debug: passwd-file: lookup: user=${user | username} file=/etc/dovecot/passwd May 31 21:50:41 auth(${user | username},185.213.154.236,sasl:plain)<ElBsg3U25ou51Zrs>: Info: passwd-file: unknown user May 31 21:50:41 auth(${user | username},185.213.154.236,sasl:plain)<ElBsg3U25ou51Zrs>: Debug: passwd-file: Finished passdb lookup May 31 21:50:41 auth(${user | username},185.213.154.236,sasl:plain)<ElBsg3U25ou51Zrs>: Debug: Auth request finished May 31 21:50:41 auth(${user | username},185.213.154.236,sasl:plain)<ElBsg3U25ou51Zrs>: Debug: delaying auth failure May 31 21:50:43 auth: Debug: conn unix:login (pid=21015,uid=91) [1]: client passdb out: FAIL 4 user=${user | username} original_user=pid1
(The IP addresses are my public server IP address and a Mullvad VPN IP address, so not sensitive.)
I'm using the same credentials and passwd file as before the update.
Thanks in advance, appreciate any responses.
Am Samstag, dem 31.05.2025 um 22:11 +0000 schrieb paradoor via dovecot:
Hi there,
I have a Postfix/Dovecot server which today I upgraded from Alpine Linux 3.21 to 3.22. In the process, Dovecot updated from 2.3.21 to 2.4.1, and I updated my Dovecot config accordingly. At least
doveconf -n
runs without any error, and I'm able to start and run Dovecot.
[...]
Fatal: Couldn't load required plugin /usr/lib/dovecot/lib90_sieve_plugin.so: dlopen() failed: Error relocating /usr/lib/dovecot/lib90_sieve_plugin.so: mail_deliver_get_return_address: symbol not found
Hi,
I never used Alpine. But from your doveconf:
2.4.1-4 (7d8c0e5759): /etc/dovecot/dovecot.conf
Pigeonhole version 2.4.0 (1b2d5bb9)
They should be both the same version. So try upgrading the dovecot- pigeonhole-plugin package.
On Sunday, June 1st, 2025 at 14:14, Felix Zielcke <fzielcke@z-51.de> wrote:
Hi,
I never used Alpine. But from your doveconf:
2.4.1-4 (7d8c0e5759): /etc/dovecot/dovecot.conf
Pigeonhole version 2.4.0 (1b2d5bb9)
They should be both the same version. So try upgrading the dovecot- pigeonhole-plugin package.
Hi, thanks for the reply. I'm not sure why my doveconf said that, but I've checked again today and it's the same version:
2.4.1-4 (7d8c0e5759): /etc/dovecot/dovecot.conf
Pigeonhole version 2.4.1-4 (0a86619f)
OS: Linux 6.12.31-0-lts x86_64
I still get the same error whenever I run any doveadm
commands.
I've also tried removing sieve from protocols
but I'm still having the same issues.
On 01/06/2025 20:01 EEST paradoor via dovecot <dovecot@dovecot.org>
wrote:
On Sunday, June 1st, 2025 at 14:14, Felix Zielcke <fzielcke@z-51.de>
wrote:
Hi,
I never used Alpine.
But from your doveconf:
# 2.4.1-4 (7d8c0e5759): /etc/dovecot/dovecot.conf
# Pigeonhole version 2.4.0 (1b2d5bb9)
They should be both the same version. So try upgrading the
dovecot-
pigeonhole-plugin package.
Hi, thanks for the reply. I'm not sure why my doveconf said that, but
I've checked again today and it's the same version:
# 2.4.1-4 (7d8c0e5759): /etc/dovecot/dovecot.conf
# Pigeonhole version 2.4.1-4 (0a86619f)
# OS: Linux 6.12.31-0-lts x86_64
I still get the same error whenever I run any doveadm
commands.
I've also tried removing sieve from protocols
but I'm still having
the same issues._______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-leave@dovecot.org
You are loading sieve in mail_plugins. Use
protocol lmtp {
mail_plugins {
sieve = yes
}
}
or protocol lda instead.
Aki
On Sunday, June 1st, 2025 at 17:09, Aki Tuomi <aki.tuomi@open-xchange.com> wrote:
You are loading sieve in mail_plugins.
Thanks! I disabled sieve successfully and can run doveadm without a problem, although I'm still getting
Info: passwd-file: unknown user
upon trying to authenticate. My passwd file is just in a username:password
format at the moment, do I need to have a full userdb passwd file with the extra fields? Other than that I'm not sure what could be causing this.
I'd also like to be using sieve so hopefully disabling it is just a short-term workaround, may be an Alpine packaging issue with pigeonhole.
On Sunday, June 1st, 2025 at 17:24, paradoor <paradoor@protonmail.com> wrote:
Thanks! I disabled sieve successfully and can run doveadm without a problem, although I'm still getting
Info: passwd-file: unknown user
upon trying to authenticate. My passwd file is just in a
username:password
format at the moment, do I need to have a full userdb passwd file with the extra fields? Other than that I'm not sure what could be causing this.
I'd also like to be using sieve so hopefully disabling it is just a short-term workaround, may be an Alpine packaging issue with pigeonhole.
Finally figured it out—it was a simple syntax error of using $ for variables instead of %, eg ${user | username}. Replaced them with % signs and I am now able to authenticate. No progress on the pigeonhole issue though I assume that is an Alpine issue and may be fixed by package maintainers.
participants (3)
-
Aki Tuomi
-
Felix Zielcke
-
paradoor