I read the docu available under:
https://doc.dovecot.org/configuration_manual/push_notification/

I'm using Dovecot 2.2.36.4 with directors and a replicating pair of
backends using a custom dict with proxy protocol for user- and passdb
plus a userdb using sqlite for backup.

I understand 2.2 only allows to notify about new arriving mails, not eg.
flag-changes which would require 2.3 with LUA.

I want to use the ox notification driver with a http url (https seems to
be 2.3 only).

I read to enable push notifications on a mailbox I need:

a) IMAP metadata enabled incl. a backend/driver to store the metadata
b) enable push for the individual mailbox using a doveadm command (maybe
also via IMAP, which would be easier in my case)

My questions are:

1. can I set some static metadata via userdb to enable push for all
mailboxes?

2. if no, does setting the metadata on one replicating backend
replicates it to the other one too?

3. what purpose does the user=<something@else> argument in the doveadm
command to enable push server:

    doveadm mailbox metadata set -u u...@example.com -s ""
/private/vendor/vendor.dovecot/http-notify user=11@3

Does it replace "u...@example.com" in the push payload with
<something@else>?

4. can I set the required metadata via IMAP command preferable with a
(already configured) master user?

Thanks in advance :)

Ralf

-- 
Ralf Becker
EGroupware GmbH [www.egroupware.org]
Handelsregister HRB Kaiserslautern 3587
Geschäftsführer Birgit und Ralf Becker
Leibnizstr. 17, 67663 Kaiserslautern, Germany
Telefon +49 631 31657-0


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to