View Full Version : [all variants] E-mail replication?
Cadmus
July 21st, 2008, 06:22 AM
After a mail server at a friend's workplace failed spectacularly I started thinking. Of the common e-mail servers for Ubuntu are there any that support some form replication such that any failures are transparent.
windependence
July 21st, 2008, 06:30 AM
Many e-mail servers such as Postfix can store their mail in a database such as MySQL or Postgresql. Almost all of these have built in replication support.
If you want to do your own homw grown solution, you can replicate your data with rsync or other tools. The best way would be to set up a cluster and load balance it if you have those requirements.
-Tim
Cadmus
July 21st, 2008, 06:41 AM
Ahhh, so we can guarantee that the e-mail itself is safe using DB replication.
But what about making sure the mail is still received and sent? Can you have two instances of postfix use the same DB?
windependence
July 21st, 2008, 08:51 AM
Well, you could but I wouldn't. I would build 2 identical machines with virtualization, and put the mailserver in one VM and the DB on another on each machine. Replicate them, and set them up so if one fails the other takes off.
-Tim
vBulletin® v3.8.4, Copyright ©2000-2010, Jelsoft Enterprises Ltd.