Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 207e45e785cb8f6362fd9cc8fe5acbc8 > files > 79

twig-2.8.3-5mdv2010.0.noarch.rpm

From: David E. Gianndrea [mailto:daveg@comsquared.com]
Sent: Thursday, June 14, 2001 2:18 PM
To: twig@screwdriver.net
Cc: twig-devel@screwdriver.net
Subject: [twig] YES Twig 2.6.2 Talk Imap with SSL !!!

Yes I found the same thing, and I have just gotten it to work!!!
Here is what I did. BTW Im also cross posting this to devel.

Assumes that you have openssl-0.9.6a installed in /usr/local/ssl
and that your going to build php-4.0.5.

ftp://ftp.cac.washington.edu/imap/old/imap2000c.tar.Z

NOTE: Don't use the current imap2001 source as it is missing the
      auth_ssl stuff that php-4.0.5 is looking for.


READ the ./imap-2000c/docs/SSLBUILD file !!!

Edit the main Makefile ./imap-2000c/Makefile so that SPECIALAUTHENTICATORS
is set to SPECIALAUTHENTICATORS=ssl.

Do the make for your port, mine was Solaris 2.6 so...

make gso

I installed the imapd that was built on to the server that TWIG
is going to make the imap connection with.


Next build php, I used this config for my needs your mileage may vary.
Note the --with-imap-ssl !!!


./configure --prefix=/usr/local/php-4.05
--with-config-file-path=/usr/local/php-4.05/etc \
--with-mysql --with-imap=../imap-2000c --with-imap-ssl=../imap-2000c \
--enable-track-vars --with-apxs --with-openssl

Than do the make and the make install.

NOTE: Im not sure if the --with-openssl was needed but it seemed
      the right thing to do!


The ./twig/config/config.inc.php3 file gets this entry instead of 143.

 $config["imap_port"]        = "993/imap/ssl/novalidate-cert";

That this work amazed me, as im not a programmer and expected to have
to escape the "/"'s I was very glad it did!


Hey TWIG development team, how about another tag? how does this grab ya.

$config["imap_port"]    = "993";
$config["imap_ssl"]	= "";
or
$config["imap_ssl"]	= "/imap/ssl";
or
$config["imap_ssl"]	= "/imap/ssl/novalidate-cert"; Default value ???



-- 
David Gianndrea
Senior Network Engineer
Comsquared Systems, Inc.

Email:   daveg@comsquared.com
Web:     www.comsquared.com