Today I installed open_ssl and built a nice apache with perl and ssl modules. No problemo once I typed in the config commands and make/make installed it.
After wasting half the afternoon wondering how the hell to do s/mime with Net::SMTP (what with sendmail being uninstalled for security, space and speed) I sussed out how to do it.
now I can send s/mime email from the server through a mod_perl cleanup handler. wicked.
Its easy really - just create a text file of the email body, system call 'openssl smime -args'and pass the smtp server the output file from openssl.
worked first time