How To : cPanel – Email archiving

  Email

To enable email archiving at cPanel (for directadmin, sample in ns14 /etc/system_filter.exim)

1. edit /etc/cpanel_exim_system_filter

2. add below text at the last line:

==

if (“$h_to:, $h_cc:, $h_bcc” contains “domain.com.my”)
then
unseen deliver “test@domain.com.my”
endif

if $sender_address: contains “domain.com.my”
then
unseen deliver “test2@domain.com.my”
endif

==

3. save > restart exim