http://www.perlmonks.org?node_id=1020988


in reply to Sending an encrypted email

./smime -vc cacert smime-ent         # encrypt

I have not tried this one and it gives idea on encrypt only.

Please refer more on SMIME Encrypt Usage SMIME Utility