Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Aug 2004
    Posts
    6

    Unhappy Hosting external mail server troubles

    I have a domain in WHM/cpanel that has externally hosted mail servers and an externally hosted DNS. It uses web forms to send email to the organization.

    Unfortunately, the email never leaves the local server.

    I followed all the previous advice to remove the domain from /etc/localdomains and added it to /etc/remotedomains.

    I also completely removed the DNS Zone for this domain via WHM. Restarted exim.

    dig domain.com MX shows everything properly pointing to the right places.

    Resolvers are set to ISPs nameservers.

    However, when I send any email from this webform, it's still not getting to the remote mail server. The local server continues to collect it in the local mailbox. (Web serving on the box works fine.)

    I'm at my wit's end with this one so any help would be appreciated, thanks!!

    DIG results:

    ; <<>> DiG 9.2.4rc6 <<>> domain.com mx
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 45031
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 3

    ;; QUESTION SECTION:
    ;domain.com. IN MX

    ;; ANSWER SECTION:
    domain.com. 12939 IN MX 10 mail42.messagelabs.com.
    domain.com. 12939 IN MX 20 mail30.messagelabs.com.

    ;; AUTHORITY SECTION:
    domain.com. 832 IN NS ns17.zoneedit.com.
    domain.com. 832 IN NS ns13.zoneedit.com.

    ;; ADDITIONAL SECTION:
    mail42.messagelabs.com. 19 IN A 38.118.4.19
    ns13.zoneedit.com. 103067 IN A 216.122.4.160
    ns17.zoneedit.com. 95195 IN A 209.126.159.118

    ;; Query time: 13 msec
    ;; SERVER: 216.234.234.30#53(216.234.234.30)
    ;; WHEN: Fri Nov 19 15:36:28 2004
    ;; MSG SIZE rcvd: 181

  2. #2
    Member
    Join Date
    Feb 2004
    Posts
    329

    Default

    If you have root access see what the logs say. There's a few possiblities, but the logs are a good place to start.

  3. #3
    Member
    Join Date
    Aug 2004
    Posts
    6

    Default

    Ok, so from exim_mainlog I see something like this:

    2004-11-19 11:14:49 1CVCLR-00085j-7L <= abc@server1.domain.com U=abc P=local S=1512
    2004-11-19 11:14:49 1CVCLR-00085l-7w <= abc@server1.domain.com U=abc P=local S=964
    2004-11-19 11:14:49 1CVCLR-00085l-7w => abc <abc@domain.com> R=localuser T=local_delivery
    2004-11-19 11:14:49 1CVCLR-00085l-7w Completed

    It clearly thinks user "abc" is a local user that needs to be delivered locally to server1.domain.com. My problem seems to be with exim?

    I don't usually have to setup an external mail server like this, that's why I'm having so much trouble....

Similar Threads & Tags
Similar threads

  1. SPF dns record for external mail server or mail server on dedicated IP
    By MironJ in forum Feature Requests for cPanel/WHM
    Replies: 3
    Last Post: 05-15-2012, 03:27 AM
  2. hosting domain with external mail server
    By drmuey in forum cPanel and WHM Discussions
    Replies: 35
    Last Post: 09-09-2009, 07:13 PM
  3. External mail server
    By labahost in forum E-mail Discussions
    Replies: 9
    Last Post: 10-29-2007, 02:41 PM
  4. External Mail Server
    By oscillate in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 04-02-2006, 04:48 PM
  5. mail server troubles because of spammer
    By anand in forum cPanel and WHM Discussions
    Replies: 21
    Last Post: 02-06-2003, 03:44 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube