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 funcstion
Please go to step 3 if /etc/cpanel_exim_system_filter_custom already set in Step2
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:
and ("$h_to:, $h_cc:" contains "igreen.my")
or ("$h_from:" contains "igreen.my")
unseen deliver "[email protected]"
Replace igreen.my with new domain and [email protected] with new email address.