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.

Create account without email. Email on external server

Discussion in 'E-mail Discussions' started by Wonderm00n, Jul 10, 2006.

  1. Wonderm00n

    Wonderm00n Member

    Joined:
    May 4, 2006
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Hi there,

    Is there a way to create/modify an account so it doesn't have the email service?

    The email server of this account is on external server so I need the emails to go there...

    I've changed MX records for this domain and now all emails coming from the internet are correctly delivered on the external email server but all emails generated INSIDE the hosting machine are delivered internaly...

    Examples:
    - Emails automaticaly generated from PHP scripts
    - Emails sent by people who use my server as SMTP server (all my clients...)

    I've been searching this forum but found no way to pt this to work correctly so far.

    I'm quite desesperate. Any ideas?

    Thanks in advance,
    Marco Almeida aka Wonderm00n
     
  2. Man0warr

    Man0warr Well-Known Member

    Joined:
    Jun 5, 2006
    Messages:
    59
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Dallas, TX
    I'm having the EXACT same problem.

    We have a client that we host the website for, but they do their mail externally. We have their MX records setup correctly, they receive all their e-mail from outside. But if we try to send them an e-mail from ourselves (hosting machine) it get's sent to the default box in cPanel.

    It's like it can't figure out how to route it.

    At one point it was working correctly, a long time ago, so I know there is a way around it.

    Can anyone help us?
     
  3. Wonderm00n

    Wonderm00n Member

    Joined:
    May 4, 2006
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    I've used HSPHERE in the past and this was a trivial thing to do...

    It's hard to believe a player like CPANEL on the hosting control panel business doesn't have a easy way / feature to do this...

    Really I think it would be enough to manually remove the domain from the mail server and then the server would use the MX records to forward the email... But I really wouldn't like to be messing around with this manualy as anytime, in some restore from a backup the domain could be added again to the mail server. Also it could break CPANEL somehow (?).

    HELP!!!!! :D
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    It's documented many many times in the forums:

    1. Remove the domain from /etc/localdomains

    2. Add the domain to /etc/remotedomains - create the file if it doesn't exist

    That's it :)
     
  5. Wonderm00n

    Wonderm00n Member

    Joined:
    May 4, 2006
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    And regarding my concerns...

    - CPANEL will not "break" in any way?
    - If any restore is made, will not the domain come back to the localdomains?
     
  6. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    No, cPanel won't break. I've no idea if it reappears in localdomains.
     
  7. Wonderm00n

    Wonderm00n Member

    Joined:
    May 4, 2006
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    chirpy,

    Thanks ;) If this works I'll promote yourself to my personal jesus! :D
     
  8. Man0warr

    Man0warr Well-Known Member

    Joined:
    Jun 5, 2006
    Messages:
    59
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Dallas, TX
    Thanks chirpy,

    I searched and searched concerning mail and unroutable domain problems and it turned out to be something much simpler :D
     
  9. Wonderm00n

    Wonderm00n Member

    Joined:
    May 4, 2006
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Worked 100% ;)
     
Loading...

Share This Page