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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Block Gmail carbon copy on cPanel

Discussion in 'E-mail Discussions' started by RafaelEbarola, Jul 27, 2017.

  1. RafaelEbarola

    RafaelEbarola Active Member

    Joined:
    Jun 19, 2015
    Messages:
    35
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Philippines
    cPanel Access Level:
    Root Administrator
    Hi Guys,

    How can I block gmail carbon copy to cpanel?

    I don't want my email user to have a carbon copy to their personal gmail account. Its a matter of company policy. I use round cube as their web-mail and don't want them to have a copy of our company emails when they wanted to resign.

    Appreciate your helps.

    Thank you.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Could you verify how the copy of the email is sent? Is it achieved through a forwarder configured in webmail, or is the sender adding the Google email address to the CC line when sending the email?

    Thank you.
     
  3. RafaelEbarola

    RafaelEbarola Active Member

    Joined:
    Jun 19, 2015
    Messages:
    35
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Philippines
    cPanel Access Level:
    Root Administrator

    For example this one yooweb.me/blog/deggertsen/setting-your-cpanel-email-address-gmail
    I dont want my user do this without my permission..

    Thank you.
     
    #3 RafaelEbarola, Jul 27, 2017
    Last edited by a moderator: Aug 1, 2017
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Gmail is essentially acting as the email client in this scenario (it's using POP3/IMAP and SMTP). The email user could do the same thing with any other email client (e.g. Outlook, Thunderbird). The easiest way I can think of to prevent this from working would be to setup a firewall rule that blocks access to the IMAP and POP3 ports from Google's IP ranges. CSF is a useful plugin for managing firewall rules should you want to do that:

    ConfigServer Security & Firewall (csf)

    Thank you.
     
  5. RafaelEbarola

    RafaelEbarola Active Member

    Joined:
    Jun 19, 2015
    Messages:
    35
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Philippines
    cPanel Access Level:
    Root Administrator
    My boss approve this and I already no issue with this one. But another problem arise, I can't receive Gmail incoming emails

    I have open port 465-25-995-993-587 etch both in service manager and CSF

    but still gmail incoming emails cant pass through when csf is enable

    Take note there's no gmail incoming email trace on tail -f /var/log/exim_mainlog

    I can only receive gmail emails if I disable csf
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Could you confirm if you have blocked any of Google's IP addresses in your firewall rules, and if so, verify how exactly the block is configured?

    Thank you.
     
Loading...

Share This Page