Portal Home > Knowledgebase > Articles Database > email redundency?


email redundency?




Posted by azfar, 03-05-2010, 05:01 AM
I want to setup mail server in such manner that a server "A" will have all domains and accounts configured on it and it will act as a primary MX. When it received emails it will not only drop these messages to its "Store" (users mailboxes) but also forward those emails to another server "B" that will also have all the domains and accounts configured on it so it will also accept the messages and drop them to its users mailboxes. Is it possible with any mail server? I tried googling but cant find any thing. note: I dont want exchange? should be a mailenable/smartermail class MTA.

Posted by erectvps, 03-05-2010, 05:05 AM
Sounds like the best thing would be to setup per email account forwarding and keep a copy locally

Posted by Johnny Cache, 03-05-2010, 09:52 AM
You might be able to get the desired effect by clustering the mail servers and use a protocol that will allow for near-realtime replication. Perhaps this article may help: http://ws.edu.isoc.org/workshops/200...clustering.htm Another possible option would be to setup multiple MX records in your DNS zone. Email will deflect to the other server and remain queued until the primary is brought back up. Here's the DNS/MX configuration I use for my personal email. Of course, you'll need to create A records for each additional MX entry you add to your DNS zone, and it's best to have each one on different subnets. Hope this helps.

Posted by energizedit, 03-05-2010, 10:20 AM
Yes, as nwtg stated what you desire is mail server clustering. This is a pretty complex setup but if you can get it setup will do what you want.

Posted by azfar, 03-07-2010, 06:37 AM
I dont want clustering as it requires lot of administration. I need an easy solution. If I make postfix as a primary and behind it two secondary server then can postfix (/etc/postfix/transports) able to forward a single message to two destinations.

Posted by xtrac568, 03-07-2010, 03:28 PM
as far as i remember postfix transport does not support delivering same email to 2 different transports. email goes to one transport, probably the one it's matched first in transport list.

Posted by azfar, 03-08-2010, 03:31 AM
thanks every one, so any other solution which can be easily be deployed and maintained.

Posted by madaboutlinux, 03-08-2010, 05:01 AM
Either clustering is the solution OR you need to set a cron to sync emails from ServerA to ServerB frequently. You cannot achieve what you want to just by setting up the MX records since the emails are delivered only to the server that has the lowest priority.

Posted by NorCal Internet, 03-08-2010, 05:22 AM
You want something that is complicated to be simple... You might look into NTFS and using a central store for multiple mail servers, and possibly RSYNCing that server with another, or something... You could always hire someone that has mail server clustering experience...

Posted by network82, 03-08-2010, 05:58 AM
I actually did this for a clients office mail server with Smartermail, but it involved both servers on the same network, and a SAN.. Smartermail settings are stored in SQL and emails on the file system, so it works rather well. Externally DNS point to one of the servers as the primary server, with a higher MX record to the other. Internally, using two SimpleDNS/SimpleFailover Servers as the local DNS Server with round robin, provided a very basic load balanced network for several local services.

Posted by azfar, 03-09-2010, 07:12 AM
Hey guys what about it, i guess i found my solution. http://www.google.com/support/a/bin/...n&answer=60730



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read