Hi, we have a plain vanilla Debian 12.9 server running that OS’s stable distribution of Dovecot. Has anyone here figured out how to just add the notifications.delta.chat hookup and not the other chatmail features we don’t want (like autoregistered acounts or filtering out of non-autocrypt messages)?
A good starting point is https://delta.chat/en/help#instant-delivery for a high-level overview.
Chatmail servers don’t do much, they just store the push notification token of a user encrypted, and then send the encrypted token to notifications.delta.chat, which forwards it to google/apple to trigger a push notification: server/chatmaild/src/chatmaild/notifier.py at main · chatmail/server · GitHub
A process which receives a mail, knows the token, and sends it to notifications.delta.chat could trigger a notification.
The tokens are stored via IMAP METADATA in this dictproxy: server/chatmaild/src/chatmaild/metadata.py at main · chatmail/server · GitHub
which is run by a systemd service which is deployed here: server/cmdeploy/src/cmdeploy/__init__.py at main · chatmail/server · GitHub