Looking for a redundant Mail solution

roelp said:
you could also use something like finger or etrn

Hi roelp,
I am using a reseller account running on DA. How can I set my secondary mail server to deliver to the primary mail server once it is up using finger or etrn?

I do not have access to SSH.
 
weng said:
Can't we set the primary mail server to drop all mails except for those with valid addresses? That way, there's no need to return those invalid addresses emails.
Yes, but it gets you on the RFC-ignorant list, and a lot of folk block on that.

And if anyone misspells your address they never get the mail back so they think they've reached you. That's a bummer when you win (as I did twelve times last week) the Dutch lottery :) .

It's against the RFCs for lots of good reasons.

Jeff
 
I have a backup mx but i don't use it because i must accept all mail.
If i use it it will break rfc because on the main mail server, i can filter and reject before accept..., or i must accept all on backup mx.

Thinking i must better build a mail server with same exim.conf rater using backup mx.

Will be great to have full da synchronized server ;-)
 
Exim has a feature for doing callouts from the backup system to verify that accounts exist on the primary system. These callouts get cached for when the primary is down and to also speed the processing of mail.

Also this solution still remains inadiquate. The only true way to have an ideal system is for someone to research a loadbalanced cluster solution like all the bigs guys such as gmail and hotmail use.

mail is not that much traffic and to have the mail loadbalanced between 2 systems would be sweet.
 
Check out SurgeMail - http://www.SurgeMail.com

It offers a reasonably (in my opinion) cluster license or you can buy 2 licenses (the second license is 1/2 price when used as a mirror) and setup a live mirrored system.

The primary receives all email and sends copies to the mirror system AFTER it processes all spam and anti-virus.

If the primary goes down, and you are using a DNS failover system, the DNS will point to your mirror and you are all set. Depending on how good and fast your DNS failover kicks in, your customers might never even notice you are having mail problems.
 
Hmm

well if you could get this to work that would be great, OCS Hosting, already use failsafe mail, with redundant DNS a records, as pointed out keeping the mail in one place really can be a pain in the backside, but this could be fixed with a simple backround application that pings the mail server every 90seconds, as soon as we get 80% or more missed DNS, the BG processes, suspendes the mailserver, and uses secondry DNS Settings. Once the system or mailserver is resored, all mail directorys are sync'd so to speak

In our experiance its a system intensive application, our mail servers currently averge a load of 9.91, but during failover this has risen to 20+.

If this could be maid to work, OCS-Hosting, would be willing to provide a dedicated soloution in Europe for this, aswell as asia and possibly in my rack at sify

Nothing flash maybe, athlon 3500+ 1.5GB DDR, 160GB Disk, 2TB Bandwith.

90GBPS DC Peering Capacity (EvoSwitch) or RedBus @ 12GBPS <Europe
Level3 Sify DC India, Total Peering Capacity, 10GBPS mutiple GB Fibers <India
Thukral Data Center Central HongKong, 5GBPS <Asia

LMK

Cheers

OCS Hosting Pvt Ltd
 
Multiserver

In a multi-server setup, wouldn't it be easier to have the primary server hand over all entries in /etc/virtual/domains to the secondary server into a file such as /etc/virtual/secondary ?

If that were the case you could set exim to queue all mail for those 'secondary' domains and deliver them to the primary?

Not sure how easy that would be, but would be nice if the multiserver supported this.
 
would be simple

Would be simple if the secondary server (multi server) had a file such as I mentioned, then you would just add the following to exim

relay_domains = ${path to secondary file}
 
More than just domains, you'd also need to know which users to accept email for, or you'd end up with a lot of email you can neither deliver nor return, once your main server comes up.

It's possible to create a backup mx server. It's just not simple.

Since there seems to be so much interest we're looking at a scripted solution, and will probably begin work on it once SpamBlocker3 is released.

Jeff
 
Hi,

I was looking on the forum for a fallback- or backup MX solution, because of that I came to this old topic.

Since there seems to be so much interest we're looking at a scripted solution, and will probably begin work on it once SpamBlocker3 is released.
Is there already some news about this, Jeff?

Like someone said already, it would be nice to have a tool for MX inside DirectAdmin like the "Multie server setup" for DNS.

Thanks,
Kris
 
For full failover (which is what you all seem to be talking about), it's more than multiple MX records.

You're really looking for fail-over across large network (ie: other side of the country/ another datacentre).

At a minimum you need something that:

1. Does heart-beating between multiple servers.
2. Disk replication / shared storage
 
Is there already some news about this, Jeff?
I'd still like to do it. I'd still like to do a lot of things. There just aren't enough hours in a day.

I'm now hiring, so maybe I'll have some time soon.

Jeff
 
Thanks Jeff, looks great :)
I hope something like that will be in one of the next versions of DA ;)

Grtz,
Kris
 
I certainly didn't mean to give you the impression it'll happen anytime soon. It may, if you work on it ;).

Jeff
 
Back
Top