On Thu, Mar 12, 2009 at 4:08 PM, Paul Lesniewski <paul@...:
> On Wed, Mar 11, 2009 at 11:51 PM, Satya Kishore Sunkavalli
> <kishore.valli@...> wrote:
> > I have openssl 0.9.8j installed.
> > I set the config file as you mentioned. see the text in blue color. I set
> > the $easycerts path instead of $cadir as mentioned in the INSTALL file.
> > still i didnot get the S/MIME functionality in my email. Can you check
> > and let me know if I need to do anything more. Thanks in advance.
> > global $data_dir; // existing global, the squirrelmail data dir
> > // The path to the the openssl executable [new var]
> > global $openssl;
> > // $openssl = "/usr/bin/openssl";
> > $openssl = "C:/openssl/bin";
> I missed this before. This needs to be the path to the openssl
> executable, not to a directory.
> > // The path to echo [new var]
> > global $echo;
> > // $echo = '/bin/echo';
> > $echo = '';
> > // The directory where the root CA's certificates live
> > // Read the README file for info about adding you own (private) CA to
> > this directory
> > global $cadir;
> > // $cadir = "/etc/ssl/certs";
> > $cadir = " ";
> > // Easy root certificate setup [new var]
> > // Might conflict with $cadir above, openssl docs are unclear. I've
> > // tested with both defined and have had no probs, but i have no
> > // certificates in $cadir.
> > // Pointer to a file containing trusted root certificates, one is
> > // included with the smime plugin, update $easycerts below to
> > // include the full path to your plugin directory (it will be
> > // used by an external command).
> > global $easycerts;
> > $easycerts =
> > // $easycerts = "-CAfile
> > // The directory where signer's ceritificates are stored
> > // must be readable and writeable by the user httpd runs as.
> > global $cert_in_dir;
> > $cert_in_dir = $data_dir . "certs-in/";
> > On Wed, Mar 11, 2009 at 10:48 PM, Paul Lesniewski <paul@...
> > wrote:
> >> On Wed, Mar 11, 2009 at 1:31 PM, Satya Kishore Sunkavalli
> >> <kishore.valli@...> wrote:
> >> > Hi Everyone,
> >> >
> >> > I need some help in configuring the S/MIME plugin in the Squirrelmail.
> >> > configured Squirrelmail in Windows Vista, and other installations are
> >> > follows.
> >> >
> >> > Apache 2.2.11
> >> > MySQL 5.1.32
> >> > PHP 5.2.9
> >> > hmailserver 5.0-B326
> >> > Squirrelmail 1.4.17
> >> >
> >> > I tried to install S/MIME 0.6 plugin, but I am not sure how to change
> >> > the
> >> > config file of S/MIME in windows. All the paths in the config file are
> >> > related to UNIX domain.
> >> Right, and it is possible that it will be difficult or impossible to
> >> make it work under Windows. Please report back if you DO get it to
> >> work.
> >> > Can someone help me in modifying the paths in the config file, and
> >> > other changes that are required.
> >> > I appreciate your help.
> >> Do you have openssl installed? The plugin needs to know the path to
> >> the openssl executable file (and that file needs to be executable by
> >> the web server).
> >> Same goes for the "echo" command, but that's also a native Windoze
> >> command, so try just setting that to "echo" without any path
> >> information on it.
> >> The $cadir setting will depend on your Windows openssl installation I
> >> think. You may need to ask in the openssl community for some tips.
I configured the S/MIME according to your instructions. Still its not
working. I dont find any Error messages in the PHP error log. When I am
going through the README file of the SMIME plugin, I found something
that this plugin does NOT *generate* new S/MIME signed emails".*
How can I generate the S/MIME signed emails and verify them? What other
configuration do I need to change to get the functionality working?
Your help is appreciated.