batched smtp and a relay mail server

playah12

Verified User
Joined
Jan 9, 2009
Messages
5
Hello,

we are testing DA software and we have a question about mail and mailrecord.

I have created a domain www.abc.com and removed the default MX record that points to this domain (mail.abc.com).

next I added a new mx record to point to our exchange server. (batched smtp) so mail will directly be deliverd to our exchange server (local). So far so good...

Now when our server is down, the DA server should have a second MX record to point to the relay mail server, so mail won't be bounced as non-delivarable to the sender. Mail would be sent to the relay server and sits there. This server should retry sending the mail at set intervals.

The reason we need to do this on a second server, is that if the DA server fails, the mail for the POP Accounts should also be relayed to the relay server and wait untill the DA server is back up again, so it can deliver the mails.

Is this possible with DirectAdmin? Any examples on how to implement this?

thanks
 
Now when our server is down, the DA server should have a second MX record to point to the relay mail server, so mail won't be bounced as non-delivarable to the sender.

Is there another server handling DNS? if your DNS is hosted on the DA server and the DA server goes down then its not going to matter if there is a second MX record since nobody will be able to find it. If I am understanding you correctly then your logic is flawed. You need to have at least a second DNS server set up somewhere.
 
Is there another server handling DNS? if your DNS is hosted on the DA server and the DA server goes down then its not going to matter if there is a second MX record since nobody will be able to find it. If I am understanding you correctly then your logic is flawed. You need to have at least a second DNS server set up somewhere.

I'm sorry, yes, assuming we have an external DNS server for our DNS records.
 
I've read your original post several times.

Do you want a separate relay server to run when your exchange server is down? That's relatively easy; just use a second mx record with a higher value pointing to the relay server, and of course make the settings in the MX Records screen to turn off local email.

If you want to use your DirectAdmin server for the relay server you can probably do that with a lot of custom work in exim.conf.

Jeff
 
This confuses me:

Now when our server is down, the DA server should have a second MX record to point to the relay mail server

This tells me that DA is the server hosting the DNS. Otherwise there would be no reason to add a second MX record to it.

So are you saying that the DA server is serving dns AND you have another dns server somewhere?
 
Back
Top