Re: Replication problems

2018-07-19 Thread Gerald Galster
Hello Thomas,

which version of dovecot do you use?

I'm running a dovecot cluster with 2 servers and dsync replication with ssh (no 
loadbalancer but active/active with same priority dns mx records).
dsync replicates some emails back after they have been deleted on one node. For 
me this started after 2.2.33.2. No solution yet.
If you're using a 2.2 version you could try 2.2.33.2.

Best regards,
Gerald


> Am 19.07.2018 um 14:13 schrieb Thomas Kristensen :
> 
> Hey 
>  
> I am trying to setup a dovecot cluster with 2 servers using replication 
> /dsync.
>  
> In front of it I got a Fortinet ADC (Load balance) and I think that I messing 
> up the dsync.
> I see mails duplicated in the sync progress.
>  
> If I disable one of the servers in the ADC, it seems to work and the sync if 
> working without a problem.
> But if I use both servers with a round robin on the ADC, I see mailed 
> duplicated.
> Ex. I sent 100 mails thru the SMTP (Postfix) and 107 mails is in both 
> servers, but as said before, if I disable one of the servers in the ADC, I 
> see the correct amount of mails in both dovecot servers.
>  
> In the header of the duplicated mails I see the exact same postfix id and 
> LMTP id from dovecot.
>  
> Also I cant seem to get any log from the sync progress.
>  
> Med venlig hilsen
> Thomas Kristensen
> 
> Storhaven 12 - 7100 Vejle
> Tlf: 75 72 54 99 - Fax: 75 72 65 33
> E-mail: t...@multimed.dk
>  
> Denne e-mail kan indeholde fortrolig information. Hvis du ikke er den rette 
> modtager af denne e-mail eller hvis du modtager den ved en fejltagelse, beder 
> vi dig venligst informere afsender om fejlen ved at bruge svarfunktionen. 
> Samtidig bedes du slette e-mailen med det samme uden at videresende eller 
> kopiere den.
> 



Replication problems

2018-07-19 Thread Thomas Kristensen
Hey

I am trying to setup a dovecot cluster with 2 servers using replication /dsync.

In front of it I got a Fortinet ADC (Load balance) and I think that I messing 
up the dsync.
I see mails duplicated in the sync progress.

If I disable one of the servers in the ADC, it seems to work and the sync if 
working without a problem.
But if I use both servers with a round robin on the ADC, I see mailed 
duplicated.
Ex. I sent 100 mails thru the SMTP (Postfix) and 107 mails is in both servers, 
but as said before, if I disable one of the servers in the ADC, I see the 
correct amount of mails in both dovecot servers.

In the header of the duplicated mails I see the exact same postfix id and LMTP 
id from dovecot.

Also I cant seem to get any log from the sync progress.

Med venlig hilsen
Thomas Kristensen
[MM_mail_logo_3_AS]
Storhaven 12 - 7100 Vejle
Tlf: 75 72 54 99 - Fax: 75 72 65 33
E-mail: t...@multimed.dk