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 Server on a Def Server

Discussion in 'E-mail Discussion' started by kalinga, Mar 9, 2005.

  1. kalinga

    kalinga Member

    Joined:
    Mar 9, 2005
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    151
    Hi :)

    i have a qustion, now i have my domain hosted on a server that has Cpanel, with my domain (abc.com)

    but i have my email server running at my end not on the same server as my web site. i point my server with the DNS editor on the cpanel and point the MX to my server. now all works fine untill some one on the hosting server send me a email, it stays on my hosting server it dont use the dns infomation.

    what can i do on the cpanel server to not to look for local domain just to use mx to send mail ?

    thanks
    kalinga
     
  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
    It's been covered many times before (search) but one more time ;) :

    1. Remove the domain from /etc/localdomains
    2. Add the domain to /etc/remotedomains (create the file if you need to)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. kalinga

    kalinga Member

    Joined:
    Mar 9, 2005
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    151
    Thanks !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    sorry !!!! :confused: i try to search but didnt find what i was looking for, maybe im dumb !!!!

    thanks a milion for the reply !!!!!!!!!!!!!!!!!!!! :)
     
  4. DigitalN

    DigitalN Well-Known Member

    Joined:
    Sep 23, 2004
    Messages:
    420
    Likes Received:
    1
    Trophy Points:
    168
    ...and to check the routing of mail once completing the change on your server,

    # exim -bt user@remotedomain.com

    Should route 'remote smtp' from your box, if the change is good :)
     
  5. kalinga

    kalinga Member

    Joined:
    Mar 9, 2005
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    151
    this may sound dum, but what if i want to keep a subdomain me@sub.mydomain.com on the capnel server and send all other email me@mydomain.com to a nother server ?

    *******************
    /etc/localdomains

    sub.mydomain.com

    *******************
    /etc/remotedomains

    mydomain.com

    DNS
    *******************
    mydomain.com mx 0 host.myothermailserver.com
    sub.mydomain.com mx 0 host.mycpanelserver.com


    am i correct ? :rolleyes:
     
  6. DigitalN

    DigitalN Well-Known Member

    Joined:
    Sep 23, 2004
    Messages:
    420
    Likes Received:
    1
    Trophy Points:
    168
    If you want mail for a subdomain, just create a new account in your whm, sub.domain.com

    This is then just a normal account, with local configured mail. It has its own dns zone as a result too.
     
  7. kalinga

    kalinga Member

    Joined:
    Mar 9, 2005
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    151
    thanks alot guys !!!!!!!! :) :D
     
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