Installing S/MIME
=================
Simply untar the file in the plugins directory, and make sure it is
in its own directory, and that the name of the directory is the name
of the plugin.

  $ cd plugins
  $ tar -zxvf /usr/archives/smime.tar.gz

Then copy config.php.sample to config.php.
  $ cd smime
  $ cp config.php.sample config.php

Then edit the smime/config.php file.
   a. set $openssl to path to openssl binary
   b. set $cadir
      make sure you have a good set of trusted root certificates
      appropriately stored there, I have no idea how to do that so
      i went with the OR below.

      OR set easycerts to point to ca-bundle.crt in this plugin dir

Then go to your config directory and run conf.pl.  Choose option
8 and add the plugin.  Save and exit, then that should be all
if the plugin was made correctly.  :)

  $ cd ../../config
  $ ./conf.pl

Then test it out.  To do so, you'll need a signed email from
somone, this plugin doesn't generate new s/mime emails.
If the plugin is working, you will see some extra info in
the header fields when viewing the message content:


This message has been S/MIME signed
       Signer:  Neo Gates/Email=root@msn.com <postmaster@msn.com>, verified [View certificate]
 Signed parts: 	Body                                                     [Download certificate]

