From f3d6e9f9bfae30bc640c87cee7603a5725a8414d Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sun, 23 Jan 2022 09:11:37 +0200 Subject: [PATCH] Updated IMAP Push Notifications (markdown) --- IMAP-Push-Notifications.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/IMAP-Push-Notifications.md b/IMAP-Push-Notifications.md index 0da2f7f..1775244 100644 --- a/IMAP-Push-Notifications.md +++ b/IMAP-Push-Notifications.md @@ -48,14 +48,14 @@ Then restart Dovecot: ```systemctl restart dovecot``` ## Dovecot 2.3.7+ -> Dovecot 2.3.7+ allows to get more events (flag changes, delete or Sieve moved mails) via a custom LUA script and allows https URLs. +> Dovecot 2.3 allows to get more events (flag changes, delete or Sieve moved mails) via a custom LUA script and allows https URLs. 2.3.7+ is required to read metadata information / the push server tokens EGroupware places on the mailbox (metadata_get() method). Install ```dovecot-lua``` plus required Lua modules: ``` apt install dovecot-lua lua-socket lua-json curl https://raw.githubusercontent.com/EGroupware/swoolepush/master/doc/dovecot-push.lua > /etc/dovecot/dovecot-push.lua ``` -(For CentOS/RHEL use ```yum``` instead of ```apt``` and you need to install ```epel-release``` package/repo first.) +(For CentOS/RHEL use ```yum``` instead of ```apt``` and you need to install ```epel-release``` package/repo first. Debian/Ubuntu has no dovecot-lua, it is include in dovecot-core already.) Create the following file /etc/dovecot/conf.d/14-egroupware-push.conf (must be before 15-lda.conf and 20-lmtp.conf!) ```