Sub Domain on Different Server Exim Unroutable Address - WHM/cPanel
Hi, I have two servers running cPanel/WHM, with BIND and Exim. I have my main domain running on one server (gizmo.mywebhost.net) and wish to host a seperate helpdesk on a subdomain support.mydomain.com (on a second server, stripe.mywebhost.net).
The subdomain mail account [email protected] works fine with hotmail, i can send and reveive between my stripe.mywebhost.net server and hotmail without any issue.
The problem is when i try and send mails from accounts hosted on gizmo.mywebhost.net, to the subdomain server stripe.mywebhost.net, i get the following unroutable address error fired back by the local exim process:
This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed:
I have setup the subdomain in WHM, with the following bind zone as follows (this is a DNS cluster so zone files are the same on both gizmo and stripe):
[email protected] [/var/named]# cat mydomain.com.db
; cPanel first:11.24.4-RELEASE_36167 latest:11.24.4-NIGHTLY_36950 Cpanel::ZoneFile::VERSION:1.2 mtime:1248815949 hostname:stripe.mywebhost.net
; Zone file for mydomain.com
mydomain.com. 86400 IN SOA ns1.mywebhost.net. mymail.hotmail.com. (
2009071311 ;Serial Number
mydomain.com. 86400 IN NS ns1.mywebhost.net.
mydomain.com. 86400 IN NS ns2.mywebhost.net.
mydomain.com. 14400 IN A 126.96.36.199
localhost 14400 IN A 127.0.0.1
mydomain.com. 14400 IN MX 0 mydomain.com.
mail 14400 IN CNAME mydomain.com.
www 14400 IN CNAME mydomain.com.
ftp 14400 IN A 188.8.131.52
cpanel 14400 IN A 184.108.40.206
whm 14400 IN A 220.127.116.11
webmail 14400 IN A 18.104.22.168
webdisk 14400 IN A 22.214.171.124
support 14400 IN A 126.96.36.199
support 14400 IN MX 0 support.mydomain.com.
helpdesk.support 14400 IN A 188.8.131.52
Yes, /etc/localdomains and remotedomain should be configured properly in order to send e-mails properly. That's why you need to move support.mydomain.com to remotedoamins and everything should work properly.