Master-Master replication question

Rick Romero rick at havokmon.com
Mon Jul 11 17:46:50 UTC 2016


  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 required
for
>> 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


More information about the dovecot mailing list