lib22_push_notification_lua_plugin.so: undefined symbol: dlua_dovecot_register
I am trying to use Lua Notification plugin for Event push But saw this error. Can anyone help me on this issue. Error In the logs when I receive an Email is given below.
Oct 15 21:55:41 master: Info: Dovecot v2.3.11.3 (502c39af9) starting up for imap, lmtp Oct 15 21:56:51 lmtp(36): Fatal: Couldn't load required plugin /usr/lib/dovecot/modules/lib22_push_notification_lua_plugin.so: dlopen() failed: /usr/lib/dovecot/modules/lib22_push_notification_lua_plugin.so: undefined symbol: dlua_dovecot_register
# dovecot -n # 2.3.11.3 (502c39af9): /etc/dovecot/dovecot.conf # OS: Linux 4.19.128-microsoft-standard x86_64 Debian 10.6 9p # Hostname: 238afcc76ba9 auth_debug = yes auth_mechanisms = plain oauthbearer xoauth2 auth_verbose = yes disable_plaintext_auth = no doveadm_password = # hidden, use -P to show it log_path = /dev/stdout mail_debug = yes mail_location = maildir:/data/imap_store/%n mail_plugins = " quota" namespace inbox { inbox = yes location = mailbox Drafts { special_use = \Drafts } mailbox Greeting { auto = create } mailbox Junk { special_use = \Junk } mailbox Sent { special_use = \Sent } mailbox "Sent Messages" { special_use = \Sent } mailbox Trash { auto = no special_use = \Trash } prefix = } passdb { driver = pam } passdb { args = /etc/dovecot/dovecot-oauth2.plain.conf.ext driver = oauth2 mechanisms = plain login } plugin { push_lua_url = http://localhost:5678/mailnotify push_notification_driver = lua:file=/notify.lua quota = maildir:User quota quota_rule = *:storage=5MB quota_status_nouser = DUNNO quota_status_overquota = 552 5.2.2 Mailbox is full quota_status_success = DUNNO } protocols = imap lmtp service doveadm { inet_listener http { port = 80 } } service health-check { executable = script -p health-check.sh inet_listener health-check { port = 5001 } } service lmtp { inet_listener lmtp { address = * port = 24 } process_min_avail = 5 } ssl = no userdb { driver = passwd } userdb { args = /etc/dovecot/dovecot-sql.conf.ext driver = sql } protocol lmtp { mail_plugins = " quota quota notify push_notification push_notification_lua" postmaster_address = postmaster@domainname } protocol lda { mail_plugins = " quota notify push_notification" } protocol imap { imap_metadata = yes mail_plugins = " quota imap_quota quota" }
On 16/10/2020 01:05 Mrinal Sharma msharma@smithmicro.com wrote:
I am trying to use Lua Notification plugin for Event push But saw this error. Can anyone help me on this issue. Error In the logs when I receive an Email is given below.
Oct 15 21:55:41 master: Info: Dovecot v2.3.11.3 (502c39af9) starting up for imap, lmtp Oct 15 21:56:51 lmtp(36): Fatal: Couldn't load required plugin /usr/lib/dovecot/modules/lib22_push_notification_lua_plugin.so: dlopen() failed: /usr/lib/dovecot/modules/lib22_push_notification_lua_plugin.so: undefined symbol: dlua_dovecot_register
Did you compile dovecot yourself? Or where did you get it? It seems that dovecot has not been compiled with Lua support.
Aki
I downloaded Dovecot from https://repo.dovecot.org/DOVECOT-REPO-GPG for /debian/buster. The library lib22_push_notification_lua_plugin.so is present but it doesn't have dlua_dovecot_register function.
Thanks, Mrinal
-----Original Message----- From: Aki Tuomi aki.tuomi@open-xchange.com Sent: Friday, October 16, 2020 12:58 AM To: Mrinal Sharma msharma@smithmicro.com; dovecot@dovecot.org Subject: Re: lib22_push_notification_lua_plugin.so: undefined symbol: dlua_dovecot_register
CAUTION - EXTERNAL EMAIL This email originated from outside of Smith Micro Software. Do not click links or open attachments unless you recognize the sender and know the content is safe.
On 16/10/2020 01:05 Mrinal Sharma msharma@smithmicro.com wrote:
I am trying to use Lua Notification plugin for Event push But saw this error. Can anyone help me on this issue. Error In the logs when I receive an Email is given below.
Oct 15 21:55:41 master: Info: Dovecot v2.3.11.3 (502c39af9) starting up for imap, lmtp Oct 15 21:56:51 lmtp(36): Fatal: Couldn't load required plugin /usr/lib/dovecot/modules/lib22_push_notification_lua_plugin.so: dlopen() failed: /usr/lib/dovecot/modules/lib22_push_notification_lua_plugin.so: undefined symbol: dlua_dovecot_register
Did you compile dovecot yourself? Or where did you get it? It seems that dovecot has not been compiled with Lua support.
Aki
Does it work if you load mail_lua as well?
So it would be something like
mail_plugins = ... mail_lua notify push_notification push_notification_lua
Aki
On 16/10/2020 17:26 Mrinal Sharma msharma@smithmicro.com wrote:
I downloaded Dovecot from https://repo.dovecot.org/DOVECOT-REPO-GPG for /debian/buster. The library lib22_push_notification_lua_plugin.so is present but it doesn't have dlua_dovecot_register function.
Thanks, Mrinal
-----Original Message----- From: Aki Tuomi aki.tuomi@open-xchange.com Sent: Friday, October 16, 2020 12:58 AM To: Mrinal Sharma msharma@smithmicro.com; dovecot@dovecot.org Subject: Re: lib22_push_notification_lua_plugin.so: undefined symbol: dlua_dovecot_register
CAUTION - EXTERNAL EMAIL This email originated from outside of Smith Micro Software. Do not click links or open attachments unless you recognize the sender and know the content is safe.
On 16/10/2020 01:05 Mrinal Sharma msharma@smithmicro.com wrote:
I am trying to use Lua Notification plugin for Event push But saw this error. Can anyone help me on this issue. Error In the logs when I receive an Email is given below.
Oct 15 21:55:41 master: Info: Dovecot v2.3.11.3 (502c39af9) starting up for imap, lmtp Oct 15 21:56:51 lmtp(36): Fatal: Couldn't load required plugin /usr/lib/dovecot/modules/lib22_push_notification_lua_plugin.so: dlopen() failed: /usr/lib/dovecot/modules/lib22_push_notification_lua_plugin.so: undefined symbol: dlua_dovecot_register
Did you compile dovecot yourself? Or where did you get it? It seems that dovecot has not been compiled with Lua support.
Aki
Thank you, adding mail_lua to mail_plugins worked.
Mrinal
-----Original Message----- From: Aki Tuomi aki.tuomi@open-xchange.com Sent: Friday, October 16, 2020 11:03 AM To: Mrinal Sharma msharma@smithmicro.com; dovecot@dovecot.org Subject: RE: lib22_push_notification_lua_plugin.so: undefined symbol: dlua_dovecot_register
CAUTION - EXTERNAL EMAIL This email originated from outside of Smith Micro Software. Do not click links or open attachments unless you recognize the sender and know the content is safe.
Does it work if you load mail_lua as well?
So it would be something like
mail_plugins = ... mail_lua notify push_notification push_notification_lua
Aki
On 16/10/2020 17:26 Mrinal Sharma msharma@smithmicro.com wrote:
I downloaded Dovecot from https://repo.dovecot.org/DOVECOT-REPO-GPG for /debian/buster. The library lib22_push_notification_lua_plugin.so is present but it doesn't have dlua_dovecot_register function.
Thanks, Mrinal
-----Original Message----- From: Aki Tuomi aki.tuomi@open-xchange.com Sent: Friday, October 16, 2020 12:58 AM To: Mrinal Sharma msharma@smithmicro.com; dovecot@dovecot.org Subject: Re: lib22_push_notification_lua_plugin.so: undefined symbol: dlua_dovecot_register
CAUTION - EXTERNAL EMAIL This email originated from outside of Smith Micro Software. Do not click links or open attachments unless you recognize the sender and know the content is safe.
On 16/10/2020 01:05 Mrinal Sharma msharma@smithmicro.com wrote:
I am trying to use Lua Notification plugin for Event push But saw this error. Can anyone help me on this issue. Error In the logs when I receive an Email is given below.
Oct 15 21:55:41 master: Info: Dovecot v2.3.11.3 (502c39af9) starting up for imap, lmtp Oct 15 21:56:51 lmtp(36): Fatal: Couldn't load required plugin /usr/lib/dovecot/modules/lib22_push_notification_lua_plugin.so: dlopen() failed: /usr/lib/dovecot/modules/lib22_push_notification_lua_plugin.so: undefined symbol: dlua_dovecot_register
Did you compile dovecot yourself? Or where did you get it? It seems that dovecot has not been compiled with Lua support.
Aki
participants (2)
-
Aki Tuomi
-
Mrinal Sharma