Re: Sync'ing two dovecot servers

Gerben Wierda via dovecot <[email protected]> Tue, 12 May 2026 13:14:40 +0200
Newsgroups gmane.mail.imap.dovecot
Message-ID <[email protected]>
I am so sad native replication has gone. It is the perfect HA solution because all others depend on HA-storage and that is far less easy to setup than this simple replication. So far, I haven’t found a reasonable solution for small setups such as mine.

I really would like to see it come back in some form, but only ‘live’ (i.e. it doesn’t matter which of the two servers you talk to)

G

> On 4 Mar 2026, at 20:40, Marc Singer via dovecot <[email protected]> wrote:
> 
>   On 3/4/26 10:41, Aki Tuomi via dovecot wrote:
> 
> 
> On 04/03/2026 20:19 EET Paul Kudla via dovecot [1]<[email protected] <mailto:[email protected]>> wrote:
> 
> 
> what you are trying to do is enable replication
> 
> 2.3 is supported it is my understanding this was removed in 2.4 (unless
> you buy a contract)
> 
> 
> Paul, replication is not available even with contract. There are some open source alternatives if you want to use replication, e.g. wormhole plugin.
> 
>   I tried a couple of the open-source replicators.  Neither worked and
>   probably for different reasons.
> 
> 
> Marc, your problem is that you are trying to setup sync over IMAP. If you are attempting to do this for migration, see [2]https://doc.dovecot.org/2.4.2/core/admin/migration.html
> 
>   I'll work with those instructions.  Thanks.  Sometimes, the problem is
>   knowing what this thing is called that one wants to do.
> 
>   Cheers
> 
> 
> If you are indeed trying to do bidirectional sync with tcps you need to configure, on both servers
> 
> service doveadm {
>    inet_listener 12345 {
>      ssl = yes
>    }
> }
> 
> doveadm_password = foobar
> 
> and then use
> 
> doveadm sync  -R1 -u USER tcps:OLD_SERVER:12345
> 
> 
> 
> 
> 
> Aki
> 
> _______________________________________________
> dovecot mailing list -- [3][email protected] <mailto:[email protected]>
> To unsubscribe send an email to [4][email protected] <mailto:[email protected]>
> 
> 
>   --
>   Marc Oscar Singer
>   Woollysoft
>   Dial 817.1823.602.1+ from right to left.
> 
> References
> 
>   Visible links
>   1. mailto:[email protected]
>   2. https://doc.dovecot.org/2.4.2/core/admin/migration.html
>   3. mailto:[email protected]
>   4. mailto:[email protected]
> _______________________________________________
> dovecot mailing list -- [email protected] <mailto:[email protected]>
> To unsubscribe send an email to [email protected] <mailto:[email protected]>
Gerben Wierda (LinkedIn <https://www.linkedin.com/in/gerbenwierda>)
R&A Enterprise Architecture <https://ea.rna.nl/> (main site)
Book: Chess and the Art of Enterprise Architecture <https://ea.rna.nl/the-book/>
Book: Mastering ArchiMate <https://ea.rna.nl/mastering-archimate-edition-3-2/>

_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]