Tracking outgoing emails  without BCC/CC

We can tracking the outgoing emails in cPanel without BCC

Sometimes through your cPanel you might want to track all the outgoing emails from the domain without adding the BCC in the email header.

In order to track all the outgoing emails you can follow following steps:

1) Login to the server as root via shell.

2) Open the file /etc/cpanel_exim_system_filter (This is Exim system filter file)

Use your favioart editar like, pico,vi,vim..etc

[root@server~]# vi /etc/cpanel_exim_system_filter

3) Just find the line which says “if first_delivery“.

Now you need to insert following below lines in “if first_delivery”.

if first_delivery
and ( (“$h_from:” contains “”)
or (“$h_from:” contains “”)
or (“$h_from:” contains “”)
unseen deliver “”
endif,, are the email addresses to be tracked. is the email adress at which the outgoing emails will be tracked(without the BCC in the header). If you have to add more domains, Place same code below the previous code, replacing with appropriate email address and the BCC email address.

4) Save the file.

5) Restart the exim service.

[root@server~]# service exim restart

6)Now you can track the emails without letting know the sender .