Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 9 of 9
  1. #1
    Member
    Join Date
    May 2006
    Posts
    9

    Default Create account without email. Email on external server

    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. #2
    Member Man0warr's Avatar
    Join Date
    Jun 2006
    Location
    Dallas, TX
    Posts
    54

    Default

    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. #3
    Member
    Join Date
    May 2006
    Posts
    9

    Default

    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!!!!!

  4. #4
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    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
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  5. #5
    Member
    Join Date
    May 2006
    Posts
    9

    Default

    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. #6
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    No, cPanel won't break. I've no idea if it reappears in localdomains.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  7. #7
    Member
    Join Date
    May 2006
    Posts
    9

    Default

    chirpy,

    Thanks If this works I'll promote yourself to my personal jesus!

  8. #8
    Member Man0warr's Avatar
    Join Date
    Jun 2006
    Location
    Dallas, TX
    Posts
    54

    Default

    Thanks chirpy,

    I searched and searched concerning mail and unroutable domain problems and it turned out to be something much simpler

  9. #9
    Member
    Join Date
    May 2006
    Posts
    9

    Default

    Worked 100%

Similar Threads & Tags
Similar threads

  1. Replies: 3
    Last Post: 05-26-2009, 10:27 AM
  2. External Email Server fully integrated with WHM / Cpanel
    By phoenixweb in forum E-mail Discussions
    Replies: 3
    Last Post: 11-26-2008, 12:54 PM
  3. forward catch-all email to external email
    By robocrop in forum E-mail Discussions
    Replies: 3
    Last Post: 03-20-2008, 09:59 PM
  4. External dedicated mysql and email server
    By bizzness in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 03-06-2007, 02:38 PM
  5. email not getting to external email servier from scripts
    By Emrys in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 12-09-2005, 11:02 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube