Updated IMAP Push Notifications (markdown)

Ralf Becker 2020-08-04 17:03:47 +02:00
parent 1b242ccfa5
commit 98fa6a5474

@ -55,6 +55,7 @@ Install ```dovecot-lua``` plus required Lua modules:
apt install dovecot-lua lua-socket luarocks
luarocks install json-lua
ln -s ln -s /usr/share/lua/5.1/JSON.lua /usr/share/lua/5.2/
curl https://raw.githubusercontent.com/EGroupware/swoolepush/master/doc/dovecot-push.lua > /etc/dovecot/dovecot-push.lua
```
Create the following file /etc/dovecot/conf.d/99-egroupware-push.conf
```
@ -75,7 +76,7 @@ plugin {
push_lua_url = https://Bearer:<push-token>@<egroupware-domain>/egroupware/push
}
```
Copy the following Lua script to /etc/dovecot/dovecot-push.lua
The above commands installed the following Lua script to /etc/dovecot/dovecot-push.lua
```lua
-- To use
--