Hi Jesus,
On 2026-06-10 15:43:11, Jesus Cea via dovecot wrote:
Reading about your wormhole plugin, I wonder why is that better that just using "doveadm sync" launched from a 50 lines python script connecting via IMAP4 and using "notify" imap extension to decide when and what to replicate. That is, a Python script connects to your mailbox using regular IMAP4, it uses "notify" to know about any change in the account, and launches "doveadm sync" when necessary.
Using your approach is totally different to wormhole. It requires authenticated IMAP connections for every user on your server. This will consume a lot of resources (compute, mem, network sockets, ...). You also have to have the credentials of every user or you have to enable master user access, which seems not a good idea for a secure setup. Last but not least, the IMAP service must be available for your replication to work. With wormhole you can have replication although you temp. disable IMAP service (e.g. during a maintenance).
I am not questioning your approach, I am just wondering.
Thinking about SIS too. In a company dovecot server, having big attachments duplicated in tons of users is quite frequent. Your example (of recovering an eliminated feature) is inspiring. Thanks.
We have been using SIS for this exact reason (e.g. summer party invite PDF in all users' mailboxes). However managing the integrity of the SIS storage has generated a rather large workload for us admins and we decided to exchange this workload with larger storage requirements, because storage is much cheaper than HR. ;-)
Best,
Patrick Cernko <pcernko@mpi-klsb.mpg.de> +49 681 9325 5815 Joint Scientific IT and Technical Service Max-Planck-Institute für Informatik & Softwaresysteme