Same MX for all created accounts.

MarkoTitel

Member
Nov 29, 2015
10
1
3
Novi Sad
cPanel Access Level
Root Administrator
Hi,

I want to set MX to specific server for all accounts hosted on cpanel.

Is it advisable to do that by editing DNS template and instead

of
Code:
%domain%. IN MX 0 %domain%
set
Code:
%domain%. IN MX 0 mailserver.
?

Or is there another smarter way?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Hello,

The method you have described is the best course of action. Zone templates are documented at:

Edit Zone Templates - Documentation - cPanel Documentation

Keep in mind this will affect new domain names created on the system. You'd have to manually edit the MX records on any existing DNS zones.

Thank you.