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.

mail on another server, problems with /etc/localdomains

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

  1. apogee

    apogee Well-Known Member

    Joined:
    Nov 8, 2004
    Messages:
    107
    Likes Received:
    1
    Trophy Points:
    18
    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,475
    Likes Received:
    20
    Trophy Points:
    38
    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.
     
  3. asmar

    asmar Well-Known Member

    Joined:
    Jul 16, 2004
    Messages:
    135
    Likes Received:
    0
    Trophy Points:
    16
    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:
    18
    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