Notify upon replication sync
freultwah opened this issue · 1 comments
I've got a fairly fault tolerant setup where two servers with different IPs share a single hostname and are synced via Dovecot's replication plugin. All is good, users have no idea which server they're currently connected to, and stuff mostly works. The only thing that doesn't necessarily work is push updates. If the user is connected to IP address A and e-mail is accepted at server B, it does get immediately synced to A, but no push notification follows, because, well, Dovecot on A sees no such connection and Dovecot on B doesn't know that a notification should be sent. Can the plugin be made aware of different ways that new e-mail messages can arrive?
(Yes, I realise that it's really about the plugin, but the plugin's github page does not apparently have Issues enabled.)
The plugin uses http to issue push notifications with the current master branch. You can easily create a HA setup with e.g. HaProxy. Sync is happening without any LMTP/LDA process involved, so this plugin doesn't support any kind of sync detection.