All bounced emails forwarded to another email account

I have a created a rule for this. You can add this rule in  /etc/cpanel_exim_system_filter.

 

if error_message and $header_from: contains “Mailer-Daemon@”
then
 deliver “bounced@domainname.com”
  finish
endif

Please note: This will automatically removed after the next cpanel update or exim update so you need to set attribute for this file.

chatter +i  /etc/cpanel_exim_system_filter

 

 

All bounced emails forwarded to another email account

Leave a Reply

Your email address will not be published. Required fields are marked *

Fork me on GitHub