Nice idea and some kind of learning perl hacking…
As there was no change in result, I added a line of debug code right after the opening of _Decrypt
grep _Decrypt /opt/rt5/local/lib/RT/Crypt/SMIME_Local.pm
/opt/rt5/local/lib/RT/Crypt/SMIME_Local.pm:sub _Decrypt {
/opt/rt5/local/lib/RT/Crypt/SMIME_Local.pm: $RT::Logger->debug("_Decrypt was called using overlay /opt/rt5/local/lib/RT/Crypt/SMIME_Local.pm");
It seems the overlay is not loaded. Mason cache was deleted and web server restarted.
sudo rm -rf /opt/rt5/var/mason_data/obj && sudo service lighttpd restart
Are there other methods for proofing the use of the overlay?
Btw.: I found no help in RT 5.0.2 Overlays