lmtp trickery

Bron Gondwana brong at fastmail.fm
Mon Oct 26 04:01:46 EDT 2009



On Mon, 26 Oct 2009 08:48 +0100, "Rudy Gevaert" <rudy.gevaert at ugent.be> wrote:
> 
> Citeren David Carter <dpc22 at cam.ac.uk>:
> 
> 
> > On the one occasion in five years that we did end up with a Cyrus split
> > brain (replication failed because of a memory DIMM error and then the
> > entire master failed a few minutes later) it was easy enough to fish
> > missing messages out of the dead system the following day and reinject
> > them using LMTP. Certainly easier than reengineering the entire Cyrus
> > mailstore to allow active/active replication.
> 
> Hi David,
> 
> I was wondering how you did that.
> 
> a) the fishing part: I don't see any way how I can map a log entry  
> (message id) to a file
> b) injecting through lmtp: piping messages via stdin?

Our system just makes IMAP connections as 'admin' to both ends and injects
the message via IMAP.

As for mapping messages to files... well, we have the auditlog patch, which
helps considerably :)

Bron.
-- 
  Bron Gondwana
  brong at fastmail.fm



More information about the Info-cyrus mailing list