lib22_push_notification_lua_plugin.so: undefined symbol: dlua_dovecot_register

Mrinal Sharma msharma at smithmicro.com
Fri Oct 16 01:05:09 EEST 2020


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"
}




More information about the dovecot mailing list