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!

Exim via Mailgun causing 'on behalf of' to appear

Discussion in 'E-mail Discussion' started by ServerMan1984, Oct 6, 2018.

  1. ServerMan1984

    ServerMan1984 Member

    Joined:
    Oct 6, 2018
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    London
    cPanel Access Level:
    Root Administrator
    We are moving our cpanel servers to Google Cloud. We are aware of GCP blocking port 25 so we decided to configure Exim to route all outgoing mail to Mailgun.

    Emails are going through, however, they appear like this in Outlook:

    user=hosted-domain.com@mg.our-company.com
    on behalf of Our User <user@hosted-domain.com>

    In Gmail it appears like this:

    Our User user@hosted-domain.com via mg.our-company.com

    I am guessing it is due to Sender: key in the header which is set to:
    Sender: user=hosted-domain.com@mg.our-company.com

    Is there any way to alter the Sender: key in the header to be the same as From:?
     
  2. cPanelLauren

    cPanelLauren Forums Analyst II
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    3,072
    Likes Received:
    215
    Trophy Points:
    173
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. ServerMan1984

    ServerMan1984 Member

    Joined:
    Oct 6, 2018
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    London
    cPanel Access Level:
    Root Administrator
    Thanks,

    We decided to move to AWS instead. More reasonable and straightforward to setup.
     
  4. cPanelLauren

    cPanelLauren Forums Analyst II
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    3,072
    Likes Received:
    215
    Trophy Points:
    173
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @ServerMan1984

    I'm glad to hear that you were able to get the issue resolved even if you did need to move providers to do so, thank you for following up!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. ServerMan1984

    ServerMan1984 Member

    Joined:
    Oct 6, 2018
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    London
    cPanel Access Level:
    Root Administrator
    Thanks,

    Although, I would still like to know the ideal WHM setup on Google Cloud Platform for multiple domains. There are guides out there that allude to this issue but I haven't come across a detailed and workable solution to this.

    If we can get a solution that would be fantastic as we would rather keep all our VMs in one place.
     
  6. cPanelLauren

    cPanelLauren Forums Analyst II
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    3,072
    Likes Received:
    215
    Trophy Points:
    173
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. ServerMan1984

    ServerMan1984 Member

    Joined:
    Oct 6, 2018
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    London
    cPanel Access Level:
    Root Administrator
    I guess by ideal I mean what WHM's main purpose is, that is to manage multiple vhosts/domains/sites. The above link covers most aspects in that regard but doesn't deal with the key issue of emails in depth.
     
  8. cPanelLauren

    cPanelLauren Forums Analyst II
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    3,072
    Likes Received:
    215
    Trophy Points:
    173
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    There shouldn't be much in terms of email in respect to setting up a server with them though, maybe I'm not following? Once the server is set up/configured you should not need a 3rd party mail provider.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. ServerMan1984

    ServerMan1984 Member

    Joined:
    Oct 6, 2018
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    London
    cPanel Access Level:
    Root Administrator
    Google blocks all outgoing traffic from port 25, so it is virtually impossible to setup a mail server on Google Cloud, and that's why the blog mentioned above suggests 3rd party mail services.
     
  10. cPanelLauren

    cPanelLauren Forums Analyst II
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    3,072
    Likes Received:
    215
    Trophy Points:
    173
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    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