Block Gmail carbon copy on cPanel

RafaelEbarola

Well-Known Member
Jun 19, 2015
50
2
8
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.
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,233
363
cPanel Access Level
DataCenter Provider
Twitter
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.
 

RafaelEbarola

Well-Known Member
Jun 19, 2015
50
2
8
Philippines
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.

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.
 
Last edited by a moderator:

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,233
363
cPanel Access Level
DataCenter Provider
Twitter
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.
 

RafaelEbarola

Well-Known Member
Jun 19, 2015
50
2
8
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