Correcting Zoho's MX template

twhiting9275

Verified User
Joined
Apr 10, 2004
Messages
59
Location
Cedar Falls, IA
I haven't done a ton of digging into DA in quite some time, but after moving things around a bit (from gmail to zoho, and a few other things), I discovered that the Zoho template is set to use their eu MX servers, instead of those locally. So, for those in the US (many are), you may find this handy. All of this requires SSH access, and root. So, if you don't have that, point smeone who does to this thread :)

  1. login to SSH as root
  2. navigate to /usr/local/directadmin/data/templates/mx
  3. copy the zoho.eu.txt to zoho.com.txt
  4. open up the zoho.com.txt in your favorite editor, and paste the following

  5. Code:
    |?NAME=Zoho Mail (US)|
    |?EXTRA_SPF=include:zoho.com|
    |?SPF_STRICT=-all|
    |?LOCAL_DOMAIN=no|
    |DOMAIN|. 3600 IN MX 10 mx.zoho.com.
    |DOMAIN|. 3600 IN MX 20 mx2.zoho.com.
    |DOMAIN|. 3600 IN MX 50 mx3.zoho.com.
  6. edit zoho.eu.txt and change the top line to identify it as Zoho Mail (EU)
  7. restart directadmin

I'm not sure if this will get overwritten on upgrade in the future, but this is a pretty decent workaround to having to correct the template every time you switch the MX entries :)
 
Follow this.

CUSTOM TEMPLATES
You can add more .txt files into the templates/mx directory (in theory they could be overwritten if we ever "happen" to include files with those names),
but if you want to override the 2 .txt files.. or just add more in a more clear way, this is the custom mx templates path:
/usr/local/directadmin/data/templates/mx/custom/

I think you will really like zoho to.

added feedback here
 
Last edited:
Back
Top