Issue: Client requires outgoing email from a specific account to be blind copied to another account. Server is CentOS based, using cPanel, and Exim.
Solution: Create and edit a custom Exim filter file.
Copy the existing Exim system filter file:
cp /etc/cpanel_exim_system_filter /etc/cpanel_exim_system_filter_custom
Edit /etc/exim.conf.localopts to point to the new file you just created (cpanel_exim_system_filter_custom)
and change the “systemfilter” parameter to read as:
Add the directives to the new system filter file (cpanel_exim_system_filter_custom)
and add using the following syntax example below:
if $sender_address_domain is [email protected] then unseen [email protected] endif
service exim restart
Note: If for some reason there is no /etc/exim.conf.local file, then log into WHM >> Exim Configuration Editor >> Advanced Editor and save the file (don’t make any changes). That should create the initial exim.conf.local file