The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

Discussion in 'E-mail Discussions' started by g18c, Jul 28, 2009.

  1. g18c

    g18c Member

    Jul 7, 2007
    Likes Received:
    Trophy Points:
    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 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:

        Unrouteable address
    ------ This is a copy of the message, including all the headers. ------
    Return-path: <>
    Received: from [] (helo=cartman)
    	by with esmtpa (Exim 4.69)
    	(envelope-from <>)
    	id 1MVuGJ-0004h0-3p
    	for [email][/email]; Tue, 28 Jul 2009 22:31:07 +0100
    From: "Chris Morley" <>>
    To: <>
    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] H=(cartman) [] P=esmtpa S=5457 id=00f901ca0fca$fa206d40$ee6147c0$@com
    2009-07-28 22:31:07 1MVuGJ-0004h0-3p ** [email][/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 <> 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:

        SMTP error from remote mail server after RCPT TO:<>:
        host []:
        550-Verification failed for <>
        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 <>: Unrouteable address
    2009-07-28 22:32:19 [] F=<> rejected RCPT <>: 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,

  2. g18c

    g18c Member

    Jul 7, 2007
    Likes Received:
    Trophy Points:
    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



Share This Page