If you need to have hidden copies of all incoming and outgoing emails in your cPanel server, please follow the bellow given steps:
Here I am considering mailer domain name as mydomain.com.
1. To create a hidden carbon copy, go to /etc/ and create a new file:#cp cpanel_exim_system_filter cpanel_exim_system_filter2
2. Add the following at the bottom of the new file (/etc/cpanel_exim_system_filter2):#vi /etc/cpanel_exim_system_filter2
===
if (“$h_to:, $h_cc:, $h_bcc” contains “mydomain.com”)
then
unseen deliver “income@mydomain.com”
endif
if $sender_address: contains “mydomain.com”
then
unseen deliver “backup@mydomain.com”
endif
===
3. Now, go to WHM > Exim Configuration Editor and change the system filter to the new path (/etc/cpanel_exim_system_filter2).Guys make sure to change your domain name with mydomain.com