Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Oct 2003
    Posts
    44

    Default External hosted mail routing issue

    Scenario:

    An account in the server is hosting his email outside, so we apply the MX records and A records for pop and SMTP provided by the external email provider into his zone records. It work ok except for one thing, when another account on the same server send an email to this mailhostedoutside.com account, it gives a "No Such User" error. Emails from other accounts outside the server are sent and received fine.

    Now I noticed that when creating the email account in the cPanel of mailhostedoutside.com, the mail from the account on the same server are delivered there, instead of going to the inbox of the account of the external email host (where it should supposed to be delivered).


    Any idea?

    Thanks in advance.

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge Messiah's Avatar
    Join Date
    Jul 2006
    Posts
    22

    Default

    Remove the domain from /etc/localdomains and add it to /etc/remotedomains. Create the remotedomains file if it doesn't already exist.
    Layered Tech Dedicated Hosting
    http://www.layeredtech.com/

  3. #3
    Member
    Join Date
    Oct 2003
    Posts
    44

    Default

    Thanks Messiah, i will try this. By the way the domain's files (web) is hosted in the server. I presumed this changes will not affect the hosting side of it?

    Thanks again.

  4. #4
    cPanel Partner NOC cPanel Partner NOC Badge Messiah's Avatar
    Join Date
    Jul 2006
    Posts
    22

    Default

    Correct. The localdomains and remotedomains files are only used in mail functionality.
    Layered Tech Dedicated Hosting
    http://www.layeredtech.com/

Similar Threads & Tags
Similar threads

  1. MX Mail Routing Issue when sending emails Locally
    By dotcomtim in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 07-24-2011, 01:53 PM
  2. Website Hosted with me, Mail hosted at company site
    By mstorman in forum cPanel and WHM Discussions
    Replies: 15
    Last Post: 12-22-2005, 02:46 PM
  3. Cpanel Howto: Customers hosted on external DNS
    By albatroz in forum New User Questions
    Replies: 6
    Last Post: 09-21-2004, 06:57 AM
  4. Mail Routing issue with Parked Domain
    By Solokron in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 02-12-2004, 02:43 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube