Is it possible to provide Registrar, NS, DNS, 2nd Mail Exchanger, and......

Nov 4, 2011
9
0
51
cPanel Access Level
Root Administrator
Is it possible to provide Registrar, NS, DNS, 2nd Mail Exchanger, and have their WEB Site and Primary MX hosted elsewhere, for a client, have their email work 'normally' and have forwarding for their email accounts to a 3rd mail services such as Gmail, all the while have own mail server on the same server and be able to email them?

Complicated enough?

Here is a Visual:

We are host.provider.com

We are the Registrar, NS and DNS provider for clientdomain.com

we point NS to ns1.provider.com and ns2.provider.com

We currently point WEB services for clientdomain.com to webprovider.com's IP address

We currently point MX1 to clientIP (internal exchange server) and MX2 to mail2.clientdomain.com
and specify our shared IP.

to be clear, host.provider.com and clientdomain.com are hosted on the same server.


The idea here is that if MX1 goes down, MX2 steps in, and at least ONE of the TWO following occur.

1) our server accept email for clientdomain.com
2) if configured, forward accepted email to 3rd party email service such as gmail

if #2 is possible while #1 is working, then those mail users can pickup their email from those services
and NOT need to receive/send email through our server.

if #2 is NOT possible, then I need those users to be able to receive/send email through our server

whether or not MX1 and/or MX2 are 'actively' providing mail server I need accounts, hosted on our
server, to be able to email clientdomain.com

Can this be done or not or do I need additional servers to provide separate NS/DNS/MX records and services
for for accounts that fall under these needs?

Current known problems:

a) In providing the 2nd MX record, when in 'backup mail exchanger mode', when MX1 is down, mail is being accepted by our server however it is NOT usable by the users as our server is waiting for MX1 to come backup.

Email is NOT being accepted into user mailboxes.

Email is NOT being forwarded to 3rd party email services.

b) when in 'local exchanger mode' accounts on the same server are not able to email them as our server believes the email is 'local' and clientdomain.com users would need to receive/send email on that server full time even when MX1 is up.

Thank you in advance for reviewing and hopefully providing insight to this.
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
41
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
Re: Is it possible to provide Registrar, NS, DNS, 2nd Mail Exchanger, and..

The purpose of a backup mail server is not to accept mail that can be downloaded or viewed by the user but to accept mail until the primary mail server becomes available. That is what using cPanel as a backup mail exchanger will do. It will accept emails so they are not bounced for that user and hold them in the queue until the primary mail server is working again. At that point, it will deliver the emails to that primary mail server.

The reason for this type of setup is to ensure email syncs up. If you allow delivery to different locations, then the user will have isolated emails only on that location and have to log into it to accept those emails and view them. Only by holding the emails for later delivery to the main mail server (primary MX) can you ensure emails are synced up.
 
Nov 4, 2011
9
0
51
cPanel Access Level
Root Administrator
Re: Is it possible to provide Registrar, NS, DNS, 2nd Mail Exchanger, and..

Thank you Cpanel for your response.

We are aware of that particular function, in regards to a backup mail exchanger.

Is it possible, to configure Cpanel, in such a way perhaps 'tweaked' which will allow
it to receive email, if the primary MX is down, and will allow, or at a minimum forward
emails that are accepted, to another mail server/service, if you are saying that there
is NOT a way to have the server be able to provide 'usable' email service when it is
configured as a 2ndart email server.

Thanks again.
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
41
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
Re: Is it possible to provide Registrar, NS, DNS, 2nd Mail Exchanger, and..

It is possible to do any number of customizations under exim. This wouldn't be something supported, though, nor anything I've ever attempted to do.

The better place to ask would be at exim.org on their mailing list to see if what you want will work, since you can configure exim routers and drivers in the WHM > Exim Configuration Editor > Advanced Editor area with cPanel, so you can do most any customization for exim that exim itself allows.