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.

MX Mail Routing Issue when sending emails Locally

Discussion in 'E-mail Discussions' started by dotcomtim, Jul 21, 2011.

  1. dotcomtim

    dotcomtim Member

    Joined:
    Jan 20, 2010
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    I am having an issue with setting up Google APPs on the my server. I require that Google handles some emails while the server handles the rest. Based on what I read, I have all MX Records pointing to Google and over at Google route the emails that do not exist back to the server.

    These settings work perfectly if I have the server set up as Local Mail Exchanger, if I set it up as Remote Mail Exchanger the emails being routed back by Google to be handled by the server no longer work.

    So what is the issue? When in Local Mail Exchanger mode the server then does not recognize the email accounts set up over at Google - which means the emails are not being delivered when sent locally. If I change it to Remote the local emails work but the returned routing does not.

    It looks like I got myself into a catch 22 which I can not get out of. Is there another setting I am missing?
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    cPanel will not support this type of setup with Google apps as far as I'm aware. You would have to use some type of router to detect whether the email account is on the machine or not, then route to Google when it is not locally for that domain's email. I would suggest posting on exim.org site mailing list to ask how this might be handled.
     
  3. dotcomtim

    dotcomtim Member

    Joined:
    Jan 20, 2010
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    If I am the only person on the server - meaning one domain to manage and there are only 3 emails that the server would access to send emails locally - there is no work around?

    Can you send email SMTP through PHP rather than using the mail function? or is that just the same scenario as above?
     
  4. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    The only ones who will know a possible workaround would be on exim.org's mailing list. Please let us know the results after this has been discussed there. They are the experts on non-standard setups such as this one. Anytime someone here isn't able to assist due to the complexity of the request, exim.org responders on their mailing list almost always come up with a viable solution.
     
  5. dotcomtim

    dotcomtim Member

    Joined:
    Jan 20, 2010
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Thanks for the information - I have posted an email to the group and how to come up with a solution. Will post if there is one.
     
Loading...

Share This Page