How to copy the outgoing messages from the server to another email address ?

If you want copy all the emails sent to [email protected] to your [email protected] email address then you can do so by using the following steps

1) Enable the System Filter File in exim configuration by using cPanel hosting account.

Main >> Service Configuration >> Exim Configuration Editor

System Filter File = /etc/cpanel_exim_system_filter

OR You can also use:

vi /etc/exim.conf

system_filter=/etc/cpanel_exim_system_filter

2) vi/etc/cpanel_exim_system_filter

Then add the following code at the bottom of the file

if $ header_from:contains “@yourdomain.com”

then

unseen deliver”[email protected]

endif

Save the file

3) Then restart the exim service

/etc/init.d/exim restart

Leave a Reply