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!

Problems setting up Google re-routing to cPanel

Discussion in 'E-mail Discussion' started by miquelfa, Jan 8, 2018.

  1. miquelfa

    miquelfa Registered

    Joined:
    Jan 8, 2018
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Spain
    cPanel Access Level:
    Website Owner
    Hi!!

    I'm having a little bit of a nightmare with this configuration. In my current configuration, I'm using GSuite for most part of email and Drive, Calendar and others for my organization. As you can read here, Google allows to reroute some emails and this is what I'm trying to setup right now.

    I have a ton of email accounts that are common Google Accounts, but I have some emails that I want to reroute to the cPanel email system.

    The problem I have is that it seems that cPanel is refusing all connections from Google servers, so the mail can not be re-routed to cPanel and those messages die between Google and my cPanel.

    I don't really know where to start looking to fix this, but I will throw here some of the information I thik must be useful for resolving the issue.

    Route configured in Google admin panel:
    mail.domain.tld:587

    Configuration of cPanel for the email account; SSL SMTP
    mail.domain.tld:465

    Configuration of cPanel for the email account; non-SSL SMTP
    mail.domain.tld:587

    I guess that the route I configured in Google is not correct because to use this configuration I have to use username/password configuration but I have no idea how to configure this.

    Thank you very much.

    MiquelFA
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,888
    Likes Received:
    90
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hi,

    You are using GSuite, so your domain name must be having MX or google, so how are you setting up the forwarding? Does the email address you are forwarding have the MX record pointing to your cPanel server?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. miquelfa

    miquelfa Registered

    Joined:
    Jan 8, 2018
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Spain
    cPanel Access Level:
    Website Owner
    Hi, thanks for your response, I tried two different configurations of MX records. As yoy said, using GSuite forces me to use the following MX records:

    Host TTL Type Priority Destination
    @ 3600 MX 1 ASPMX.L.GOOGLE.COM
    @ 3600 MX 5 ALT1.ASPMX.L.GOOGLE.COM
    @ 3600 MX 5 ALT2.ASPMX.L.GOOGLE.COM
    @ 3600 MX 10 ALT3.ASPMX.L.GOOGLE.COM
    @ 3600 MX 10 ALT4.ASPMX.L.GOOGLE.COM

    Additionally, I added another record, but I don't really know if it's necessary:

    @ 3600 MX 15 MAIL.DOMAIN.TLD

    I found that this domain has another record with the value main.domain.tld. It's a CNAME, so probably is there any possibility that this CNAME is causing the issue?
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,197
    Likes Received:
    1,936
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. miquelfa

    miquelfa Registered

    Joined:
    Jan 8, 2018
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Spain
    cPanel Access Level:
    Website Owner
    Hi,

    This may help because I will probably find this problem further on, when I try to send messages from my cPanel server to users in GSuite.

    But the problem I have is that my cPanel is refusing all incoming email from GSuite Routing. It seems like Lucas Mentz managed to get this working.
     
  6. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,197
    Likes Received:
    1,936
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Could you let us know the corresponding entry in /var/log/exim_mainlog or /var/log/exim_rejectlog when the cPanel server rejects the message?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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