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.

Google Apps split delivery to mail server that is cPanel & WHM

Discussion in 'E-mail Discussions' started by mrdigitalau, Mar 2, 2015.

  1. mrdigitalau

    mrdigitalau Registered

    Joined:
    Mar 2, 2015
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi,

    I am currently running CLOUDLINUX 6.6 x86_64 standard – mrdigitalhost WHM 11.48.1 (build 2)

    I am currently hosting a client's website/emails on our server that requires split delivery of mail from Google Apps.

    For example, my client wants 7 email addresses set up.

    • 2 E-mails to be routed to Google Apps
    • 5 to be on the server mail system using POP3

    Firstly, I set up the MX records of the domain, let's call it bbb.com to point to Google Apps mail servers.
    That's fine and works perfectly, the 2 e-mails I've set work perfectly.

    I then set up E-mail Routing on Google apps to point to the mail server, lets call aaa.com, so essentially any email account that receives an email that doesn't have a Google Apps account, will be re-routed to aaa.com for delivery.

    Now, I need to set up 5 email accounts on the server via CPANEL, which I easily set up.

    Once this is done, I send an e-mail to an account set up on the CPANEL server but get this error:


    Delivery to the following recipient failed permanently:

    test@domain.com.au

    Technical details of permanent failure:
    Google tried to deliver your message, but it was rejected by the server for the recipient domain mail.aaa.com by mail.aaa.com [103.13.XXX.XX].

    Code:
    The error that the other server returned was:
    550-Please turn on SMTP Authentication in your mail client.
    550-mail-ie0-f181.google.com [209.85.223.181]:40540 is not permitted to relay
    550 through this server without authentication.
    

    I called Google and they advised that once I install some SPF records, that shouldn't happen anymore. Well, I did that on both aaa.com and bbb.com and the problem still occurs, the same SMTP authentication error.

    What I did as a test to ensure that after fixing this, it will work - is whitelist the google ip address to see what happens. Once I whitelisted the addresses, the below bounceback came up instead:

    Code:
    Delivery to the following recipient failed permanently:
    
         testaccount@bbb.com.au
    
    Technical details of permanent failure:
    A delivery loop was detected which causes this email to be undeliverable.

    I would love if someone could help me fix this issue. I have a few clients that want to migrate to Google Apps but do not want all of their accounts to go over.

    I appreciate any assistance you can provide

    Thanks
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    35,038
    Likes Received:
    1,074
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    There's no support for per-email-account MX records, so you would need to handle email activity (including email account creation) on the server where your email is hosted. You may want to submit a feature request for this via:

    Submit A Feature Request

    Thank you.
     
  3. ropfer

    ropfer Registered

    Joined:
    Oct 22, 2015
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Colorado
    cPanel Access Level:
    Website Owner
    Is this still not a supported feature? I also need to route unregistered google app emails (cPanel emails) to my host. Why can't cPanel be configured to accept relayed email from google? @mrdigitalau did you find any work around?

    I want the benefits off Google Apps for my account, but don't want to pay $5/mo. for other email accounts.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    35,038
    Likes Received:
    1,074
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    It seems like this might be a different scenario compared to what the original poster reported. Could you provide a specific example of what you need configured?

    Thank you.
     
  5. Camilo Cifuentes

    Camilo Cifuentes Registered

    Joined:
    Oct 20, 2016
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Colombia
    cPanel Access Level:
    Root Administrator
    Hello,

    I have the same problem, basically the problem is configure the split delivery for Google Apps, some accounts in Google Apps and others in webmail (cpanel).

    I have configured Google Apps based in the following guide: support.google.com/a/answer/173534?hl=en

    Google MX added to Cpanel

    I have talked with Google Apps Support team and they says that my Google Apps configuration is OK and send me this message:

    When I send a mail from (webmail) to (Google apps), it’s OK

    When I send a mail from (google apps) to (webmail), don’t work

    This is the error message in WHM>> Mail Delivery Reports:

    Code:
    Please turn on SMTP Authentication in your mail client. mail-it0-f71.google.com [209.85.214.71]:36127 is not permitted to relay through this server without authentication.
    
    Thanks for your help
     
    #5 Camilo Cifuentes, Oct 20, 2016
    Last edited by a moderator: Oct 20, 2016
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    35,038
    Likes Received:
    1,074
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    Could you let us know if the steps from the following post help?

    Google Apps split delivery for domain

    Thank you.
     
Loading...

Share This Page