mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:13 +01:00
Updated IMAP Push Notifications (markdown)
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
|
||||
--
|
||||
|
Loading…
Reference in New Issue
Block a user