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