Mrinal Sharma
2020-Oct-15 22:05 UTC
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 at domainname } protocol lda { mail_plugins = " quota notify push_notification" } protocol imap { imap_metadata = yes mail_plugins = " quota imap_quota quota" }
Aki Tuomi
2020-Oct-16 04:57 UTC
lib22_push_notification_lua_plugin.so: undefined symbol: dlua_dovecot_register
> On 16/10/2020 01:05 Mrinal Sharma <msharma at 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
Mrinal Sharma
2020-Oct-16 14:26 UTC
lib22_push_notification_lua_plugin.so: undefined symbol: dlua_dovecot_register
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 at open-xchange.com> Sent: Friday, October 16, 2020 12:58 AM To: Mrinal Sharma <msharma at smithmicro.com>; dovecot at 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 at 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
Maybe Matching Threads
- lib22_push_notification_lua_plugin.so: undefined symbol: dlua_dovecot_register
- lib22_push_notification_lua_plugin.so: undefined symbol: dlua_dovecot_register
- lib22_push_notification_lua_plugin.so: undefined symbol: dlua_dovecot_register
- Auth Panic hmac.c while Local Validation
- Cannot load key: Invalid dovecot key version