There was a problem loading the comments.

How to forward all incoming and outgoing email to an email account. (cPanel way)

Support Portal  »  Knowledgebase  »  Viewing Article

  Print

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:

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

 

 

Replace igreen.my with new domain and backup@igreen.my with new email address.


Share via
Did you find this article useful?  

Related Articles

© ServerFreak Technologies Sdn Bhd