If customer request for all outgoing email forwarding, we do allow and only allow to forward to non-free email account. Incoming forwarding can use the cPanel -> Email forwarding function

Please go to step 3 if /etc/cpanel_exim_system_filter_custom already set in Step 2

1) First make sure /etc/cpanel_exim_system_filter_custom exist. If not copy /etc/cpanel_exim_system_filter to /etc/cpanel_exim_system_filter_custom

2) Go to WHM -> Exim Configuration Editor -> Filters -> System Filter File -> Set to "/etc/cpanel_exim_system_filter_custom"

3) Now edit /etc/cpanel_exim_system_filter_custom and go to last line

4) Add the code below:

if first_delivery
and ("$h_to:, $h_cc:" contains "igreen.my")
or ("$h_from:" contains "igreen.my")
unseen deliver "backup@igreen.my"

Replace igreen.my with new domain and backup@igreen.my with new email address.
Was this article helpful?
Thank you!