IndianWebPortal.com

Something Different In Linux

Home » cpanel » copy outgoing messages to another email

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

Ans :

If you want copy all the emails send to anything@domain.com to your test@gmail.com email address then you can do is by using following steps

1) Enable the System Filter File in exim configuration by using cpanel.

Main >> Service Configuration >> Exim Configuration Editor

System Filter File = /etc/cpanel_exim_system_filter

OR

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 "@domain.com"
then
unseen deliver "test@gmail.com"
endif
Save the file

3) Then restart the exim service

/etc/init.d/exim restart

 

 


Popular Posts

remove index.php fro

How to remove index.php from url in magento Ans : If you ...

PHP-Java bridge on p

  What is php-java bridge? The php-java bridge is the php ...

Set expiration for y

If you want to set the expiration to your site ...

Warning: Parameter 1

Error: Warning: Parameter 1 to modMainMenuHelper::buildXML() expected to be a ...

domain pointing to e

If you domain uses external MX record and it is ...