Skip to content

IMAP Push Notifications

Ralf Becker edited this page Jul 31, 2020 · 14 revisions

From EGroupware 20.1 on supported IMAP servers can be configured to send push notifications to EGroupware's push server.

Currently only supported is Dovecot on premise and EGroupware GmbH's mail service for the hosting (mail.egroupware.org). If you use our hosting, nothing special need to be done, everything is already preconfigured for you.

More detailed information about configuring it for your on premise Dovecot will be available here soon, see the Dovecot documentations for now.

/etc/dovecot/conf.d/99-egroupware-push.conf

# Store METADATA information within user's Maildir directory
mail_attribute_dict = file:%h/dovecot-metadata

protocol imap {
  imap_metadata = yes
}

protocol lmtp {
  mail_plugins = $mail_plugins notify push_notification
}

plugin {
  push_notification_driver = ox:url=https://Bearer:<push-token>@<egroupware-domain>/egroupware/push user_from_metadata
}
Clone this wiki locally