I am looking to extend some options available through Exim processing, and would like to know if anyone knows a safe way to add extra code to Exim's perl scripts and not have it tossed with an upcp?
The only way to to use your own exim configuration call to load up a perl script in the exim configuration editor and be sure to load up cPanel's /etc/exim.pl within that.
That is: in the first exim configuration editor textarea add:
perl_startup = do '/path/to/your/script.pl'
And in /path/to/your/script.pl have the follow at the end:
do "/etc/exim.pl";
1;
And make sure none of your subroutine names or variables clash, and don't expect any email support from cPanel
The only way to to use your own exim configuration call to load up a perl script in the exim configuration editor and be sure to load up cPanel's /etc/exim.pl within that.
That is: in the first exim configuration editor textarea add:
perl_startup = do '/path/to/your/script.pl'
And in /path/to/your/script.pl have the follow at the end:
do "/etc/exim.pl";
1;
And make sure none of your subroutine names or variables clash, and don't expect any email support from cPanel