Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

mail on another server, problems with /etc/localdomains

Discussion in 'E-mail Discussion' started by apogee, Apr 7, 2005.

  1. apogee

    apogee Well-Known Member

    Joined:
    Nov 8, 2004
    Messages:
    107
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    Europe
    cPanel Access Level:
    DataCenter Provider
    Hello,

    I know, my question are not new, I have found the answer in this forum but I can't find it again :( so I must ask again.

    One client have his own exchange server, i have changed the mx records and removed his domain name from /etc/localdomains, everything works fine BUT if I run Main >> Email >> Rebuild/Fix Mail Dbs/Boxes the domain ar added again to /etc/localdomains.

    How can i prevent this?
    I've checked out the /etc/remotedomains,v but I think this is the wrong way

    If anybody have a link to the old thread, plz post and I will remove this thread asap

    thanks
     
    #1 apogee, Apr 7, 2005
    Last edited: Apr 7, 2005
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    You have to add the domain to /etc/remotedomains and create that file if it does not already exist.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. asmar

    asmar Well-Known Member

    Joined:
    Jul 16, 2004
    Messages:
    135
    Likes Received:
    0
    Trophy Points:
    166
    Hi apogee,

    Would you please let me know what is the procedure to point the email server in a different machine (without cpanel). Any url's will be great.

    Thanks
     
  4. apogee

    apogee Well-Known Member

    Joined:
    Nov 8, 2004
    Messages:
    107
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    Europe
    cPanel Access Level:
    DataCenter Provider
    Hi, my way:
    1. Mod your MX in the DNS zonefile and point the mail A entry to the exchange server
    2. Remove domain from /etc/localdomains
    2. Add this domain to /etc/remotedomains (u must create this file)

    done (I hope)

    thanks to chirpy for his tipp
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice