l0ve2hat3 Posted February 26, 2010 Share Posted February 26, 2010 I need a way to forward EVERY email sent and received from my server to an email address. I know i can do this using exim filter but i dont really know how. I also need it to forward if the user was CCed or BCCed. So all incoming mail forwards to [email protected] and all outgoing forwards to [email protected] SETUP: cPanel 11.25.0-R43473 - WHM 11.25.0 - X 3.9 CENTOS 5.4 i686 standard on host Link to comment https://forums.phpfreaks.com/topic/193514-exim-forward-all-emails/ Share on other sites More sharing options...
l0ve2hat3 Posted March 4, 2010 Author Share Posted March 4, 2010 anyone???? pleeeaase? Link to comment https://forums.phpfreaks.com/topic/193514-exim-forward-all-emails/#findComment-1021204 Share on other sites More sharing options...
l0ve2hat3 Posted March 7, 2010 Author Share Posted March 7, 2010 Just for future reference... heres the answer: I copied the contents from /etc/cpanel_exim_system_filter and created /etc/cpanel_exim_system_filter_new but I added this at the bottom of the /etc/cpanel_exim_system_filter_new file: #Incoming/Outgoing Email Archiving if ("$h_to:, $h_cc:, $h_bcc" contains "YOURDOMAIN.com") then unseen deliver "[email protected]" endif if $sender_address_domain is YOURDOMAIN.com then unseen deliver "[email protected]" #endif Then I went into the exim configuration in WHM and changed the filter file path from /etc/cpanel_exim_system_filter to /etc/cpanel_exim_system_filter_new I hope this helps someone else... Link to comment https://forums.phpfreaks.com/topic/193514-exim-forward-all-emails/#findComment-1022817 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.