Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    May 2002
    Posts
    9

    Default Domain with external DNS: external MX and local mail problem

    Hello!

    I have a user.
    He have hosting for domain.com on my CPanel server.
    One day he decided to move his mail to Yahoo.
    In the registrar control panel he set Yahoo DNS for server his domain. He have properly configured yahoo DNS, he created A-record to point www to my hosting. Mail of his domain served by Yahoo.
    All working fine.
    Except one thing: If I trying to send a message from my server to his mail address (on the yahoo) my server tried to deliver the message to local mailbox.

    I have removed line domain.com from /etc/localdomains and from all other files in /etc/. Also I have removed DNS zone domain.com from my DNS.
    But after some time I found domain.com in /etc/localdomains again!..

    What I need to do to prevent intercept messages for external mail domains which have webhosting on my server?
    Volodymyr Petrov
    www.Hostizer.com

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Jun 2004
    Posts
    313
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default Re: Domain with external DNS: external MX and local mail problem

    You need to move him to /etc/remotedomains instead. You can do this via the shell as you did before or edit his DNS zone in the WHM and at the bottom set the Mail Exchanger to 'Remote'.
    NDCHost (ProVPS): Xen VPS / Dedicated / Co-Location
    Contact us for your cPanel Licensing needs! We price match, provide better support, and take care of our customers!

  3. #3
    Member
    Join Date
    May 2002
    Posts
    9

    Default Re: Domain with external DNS: external MX and local mail problem

    Thanks a lot
    Volodymyr Petrov
    www.Hostizer.com

Similar Threads & Tags
Similar threads

  1. Best way to point a domain to external IP / server, but keep mail local?
    By Metro2 in forum cPanel and WHM Discussions
    Replies: 10
    Last Post: 09-12-2009, 12:39 AM
  2. External Relay Setup for Local Domain
    By tomi1122 in forum E-mail Discussions
    Replies: 1
    Last Post: 09-30-2008, 06:20 AM
  3. Duplicate domain local and external
    By riostyles in forum E-mail Discussions
    Replies: 1
    Last Post: 02-24-2008, 07:13 AM
  4. Domain local - E-Mail external
    By aubergine in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-31-2007, 05:19 PM
  5. External (Intermediary) MX Record Not Receving Local Mail
    By niatech in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 07-31-2007, 05:13 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube