How to forward incoming/outgoing mails to two other accounts?

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,227
463

mentaliser

Registered
Dec 26, 2016
3
0
1
Gujarat India
cPanel Access Level
Reseller Owner
Hello,

I tried Global filters but from what I understood, the option will allow me to filter emails with specific criteria. I want to send a copy of each and every mail that is received and sent in mail id A to mail id B and C.

Which options do I select in global filters?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,227
463
I tried Global filters but from what I understood, the option will allow me to filter emails with specific criteria. I want to send a copy of each and every mail that is received and sent in mail id A to mail id B and C.
You can actually use the "Forwarders" option in cPanel to forward incoming email from one email account to multiple other email accounts. Keep in mind outgoing email is handled separately, and the only supported method of making copies of outgoing email is through the Archive option in cPanel:

Archive - Documentation - cPanel Documentation

Thank you.
 

kdean

Well-Known Member
Oct 19, 2012
371
61
78
Orlando, FL
cPanel Access Level
Root Administrator
Make sure your "cpanel_exim_system_filter2" file is selected in the Exim Configuration Manager 's System Filter File.

Add the following to the end of your file:

Code:
#Incoming To, CC, BCC
if ("$h_to:, $h_cc:, $h_bcc" contains "[email protected]")
then
  unseen deliver "[email protected]"
  unseen deliver "[email protected]"
endif

#Outgoing From
if first_delivery
and $sender_address is "[email protected]"
then
  unseen deliver "[email protected]"
  unseen deliver "[email protected]"
endif
Then restart Exim.