Quoting Remko Lodder <remko at freebsd.org>:>> On 11 Jul 2016, at 17:36, Rick Romero <rick at havokmon.com> wrote: >> >> Quoting "William L. Thomson Jr." <wlt-ml at o-sinc.com>: >> >>> You are not alone! >>> >>> On Wednesday, July 06, 2016 01:15:34 PM Remko Lodder wrote: >>>> Dear list, >>>> >>>> I have setup a master-master replication setup. My primairy MX's send >>>> email >>>> over on a DNS loadbalanced way, so DNS is doing some kind of >>>> round-robin >>>> way of sending mail to both master servers. >>>> >>>> I found out, that on one of the two machines, the emailsynchronisation>>>> is >>>> heavily delayed. Lets assume server A receives a mail from the MX; it >>>> synchronises almost instantly with the other server. >>>> >>>> Whenever server B receives the email, it could take up to severalhours>>>> to >>>> synchronise the email, it seems that it is not detected prior. >>> >>> I have been dealing with this for months. >>> http://www.dovecot.org/list/dovecot/2016-March/103680.html >>> >>> For a band aid I use? this crontab entry. On the 2nd mail server. >>> >>> */15 * * * *? ?root? ? /usr/bin/doveadm sync -u "*" remote:mail1 >>> <snip> >> >> Are you guys using LMTP to deliver from your MX server to the mailbox >> server? > > Local delivery on the destination server is LMTP but the transportbetween> MX and destination server is just plain SMTP. > > I could try and revert to dovecot-lda and see what that does? > ?I don't think that'll help.? From what I understand, LMTP is required for replication on delivery. Out of curiousity, why do you use SMTP from the MX to the destination server instead of LMTP? ?
Hi Rick,>> Local delivery on the destination server is LMTP but the transport between >> MX and destination server is just plain SMTP. >> >> I could try and revert to dovecot-lda and see what that does? >> > I don't think that'll help. From what I understand, LMTP is required for replication on delivery. > > Out of curiousity, why do you use SMTP from the MX to the destination server instead of LMTP? >It was using that already :-), I do not see a direct reason for this to change, I will test it at some point though :)
On Monday, July 11, 2016 10:53:05 AM Rick Romero wrote:> I don't think that'll help. From what I understand, LMTP is required for > replication on delivery.Where did you come across that requirement? I do not recall that.> Out of curiousity, why do you use SMTP from the MX to the destination > server instead of LMTP?My reason is because qmail does not support that. I am not sure if I will migrate to exim or postfix. Seems others have inquired about LMTP with qmail, might be something out there. -- William L. Thomson Jr. Obsidian-Studios, Inc. http://www.obsidian-studios.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 181 bytes Desc: This is a digitally signed message part. URL: <http://dovecot.org/pipermail/dovecot/attachments/20160711/2dbd30d9/attachment.sig>
Quoting "William L. Thomson Jr." <wlt-ml at o-sinc.com>:> On Monday, July 11, 2016 10:53:05 AM Rick Romero wrote: >> I don't think that'll help.? From what I understand, LMTP is requiredfor>> replication on delivery. > > Where did you come across that requirement? I do not recall that.?Hmmm I can't seem to find any reference to it.? Maybe it was from the old blog - http://blog.dovecot.org/2012/02/dovecot-clustering-with-dsync-based.html? My understanding/assumption is that LDA delivers and updates indexes. I assume using LMTP delivers, updates indexes and kicks off a quick sync. Out of curiousity, why do you use SMTP from the MX to the destination>> server instead of LMTP? > > My reason is because qmail does not support that. I am not sure if I will > migrate to exim or postfix. Seems others have inquired about LMTP with > qmail, > might be something out there.I use qmail as well - that's why I wrote/hacked the LMTP script :)?? Basically, my last step (if no .qmail exists) is 'pipe to dovecot deliver' - I need to change that to 'pipe to this LMTP script'? The script allows you to specify a hostname to deliver to, so that you can dynamic deliver to the primary server for each user, assuming you're already doing that with a director instance. So the theory is.? I've been hitting on pieces of this for years, and I want to get all my data replicated before actually I start testing again..? The LMTP script is 6 months old and I haven't done anything beyond basic testing with it yet :/ If it weren't for all the procmail stuff I've put in over the years I'd already be done.? *sigh* Rick