Sub Domain on Different Server Exim Unroutable Address - WHM/cPanel


Jul 7, 2007
Hi, I have two servers running cPanel/WHM, with BIND and Exim. I have my main domain running on one server ( and wish to host a seperate helpdesk on a subdomain (on a second server,

The subdomain mail account [email protected] works fine with hotmail, i can send and reveive between my server and hotmail without any issue.

The problem is when i try and send mails from accounts hosted on, to the subdomain server, 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:

 [email][email protected][/email]
    Unrouteable address

------ This is a copy of the message, including all the headers. ------

Return-path: <[email protected]>
Received: from [] (helo=cartman)
	by with esmtpa (Exim 4.69)
	(envelope-from <[email protected]>)
	id 1MVuGJ-0004h0-3p
	for [email][email protected][/email]; Tue, 28 Jul 2009 22:31:07 +0100
From: "Chris Morley" <[email protected]>>
To: <[email protected]>
Date: Wed, 29 Jul 2009 01:32:57 +0400
Message-ID: <00f901ca0fca$fa206d40$ee6147c0$@com>

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):

root@stripe [/var/named]# cat
; cPanel first:11.24.4-RELEASE_36167 latest:11.24.4-NIGHTLY_36950 Cpanel::ZoneFile::VERSION:1.2 mtime:1248815949
; Zone file for
$TTL 14400        86400   IN      SOA       (
                                                2009071311 ;Serial Number
                                                86400 ;refresh
                                                7200 ;retry
                                                3600000 ;expire
                                                86400 ;minimum
        )        86400   IN      NS        86400   IN      NS        14400   IN      A
localhost       14400   IN      A        14400   IN      MX      0
mail    14400   IN      CNAME
www     14400   IN      CNAME
ftp     14400   IN      A
cpanel  14400   IN      A
whm     14400   IN      A
webmail 14400   IN      A
webdisk 14400   IN      A
support 14400   IN      A
support 14400   IN      MX      0        14400   IN      A

The exim dump on gizmo is as follows:

root@gizmo [~]# tail -n 50 /var/log/exim_mainlog
2009-07-28 22:31:07 1MVuGJ-0004h0-3p <= [email][email protected][/email] H=(cartman) [] P=esmtpa A=fixed_login:[email protected] S=5457 id=00f901ca0fca$fa206d40$ee6147c0$@com
2009-07-28 22:31:07 1MVuGJ-0004h0-3p ** [email][email protected][/email]: Unrouteable address
2009-07-28 22:31:07 1MVuGJ-0004hJ-Ix <= <> R=1MVuGJ-0004h0-3p U=mailnull P=local S=6360
2009-07-28 22:31:07 1MVuGJ-0004h0-3p Completed
2009-07-28 22:31:07 1MVuGJ-0004hJ-Ix => csmorley <[email protected]> R=virtual_user T=virtual_userdelivery
2009-07-28 22:31:07 1MVuGJ-0004hJ-Ix Completed
When i try and send from stripe (the server that hosts the subdomain to an email address as the main parent domain (hosted on gizmo), i get the following failure:

[email][email protected][/email]
    SMTP error from remote mail server after RCPT TO:<[email protected]>:
    host []:
    550-Verification failed for <[email protected]>
    550-Unrouteable address
    550 Sender verify failed
The dump exim dump from the main domain machine is as follows:

root@gizmo [~]# tail -n 50 /var/log/exim_mainlog
2009-07-28 22:32:19 [] Warning: Sender rate 4.6 / 1h
2009-07-28 22:32:19 [] sender verify fail for <[email protected]>: Unrouteable address
2009-07-28 22:32:19 [] F=<[email protected]> rejected RCPT <[email protected]>: Sender verify failed

Does anyone have any idea what is going on with the above? Been scratching my head and googling for a while but so far have drawn a blank.

Many thanks in advance,



Jul 7, 2007
Hi, managed to resolve this:

I moved the domain from /etc/localdomains to /etc/remotedomains, from that point on exim started looking up the subdomains mx record instead of going to local host.

In summary, is now in /etc/localdomains is now in /etc/remotedomains

How to setup External Mail server on cPanel Hosting | Wired GORILLA - Hosting - Scripting - Linux - PHP - mySQL