This configuration violates the IMAP protocol because new messages will be inserted by one server or the other behind the current maximum id number (on the other server). This will result in users not seeing new messages and client apps getting extremely confused. We are planning some solutions to this problem, but no code has been written yet.
Because of this fundamental problem we have not done any testing in this configuration. It might work under some limited circumstances, but you are on your own! Aaron On Thu, 2007-05-31 at 02:20 -0700, Andreja Babic wrote: > Hi, > > I am trying to use dbmail on two mail server hosts. On both hosts is > pointing MX record so both of them receive mails. On each host is running > postfix+dbmail+mysql. As I use mysql bidirectional replication, every mail > that is stored in database on one host is also stored on another host and > vice versa (bidirectional replication). I am doing this to achive load > balancing + high availability. If one host dies I still have all mails and > there is no downtime. > > The only trick I had to do is to put in my.cnf on one host: > auto_increment_increment = 2 > auto_increment_offset = 1 > > and on another host: > auto_increment_increment = 2 > auto_increment_offset = 2 > > with this I avoid problems with duplicate keys. > > What I am concerned about is dbmail-util. I suppose that it should run only > on one host, but I don't know if it will somehow confrontate with > bidirectional replication. Did any of you have experiance with that? > > Thanks, > > Andreja _______________________________________________ DBmail mailing list [email protected] https://mailman.fastxs.nl/mailman/listinfo/dbmail
