or you can just modify every single file you want (exim.conf, cpanel_exim_system_filter, etc) and then create patch files that get executed when the files get overwritten, pretty simple.
or you can just modify every single file you want (exim.conf, cpanel_exim_system_filter, etc) and then create patch files that get executed when the files get overwritten, pretty simple.
Up up...... someone??? If someone did it, could save me some testing breaks at production servers...
thanks.
thanks for shared the code
Alfredo Andaluz Prado
Ihostmarket "Advanced Hosting Solutions"
IHM
Hello,
You can filter your outgoing emails and collect them on one monitoing email address by adding rules in /etc/cpanel_exim_system_filter
then restart exim service on server.
and check be sending emails from any email account all will get collected at monitoring@domain.com
If you're going to do this for more than one domain:
http://forums.cpanel.net/f43/incomin...py-112685.html
I highly recommend using the mailscanner stuff that configserver.com provides.
In any case, if you go this route, it's as simple as using the mailscanner 'archive' features to capture the email and forward it thusly:
in the 'archive.rules' file:
FromOrTo: *origin-domain.com address@sent-to-domain.com
This grabs email that is addressed From or To any address of origin-domain.com and sends it to address@sent-to-domain.com