phpgroupware-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-developers] Bugs in IMAP/IMAPS support (phpGW 0.9.13.018)


From: Magnus Asplund
Subject: [Phpgroupware-developers] Bugs in IMAP/IMAPS support (phpGW 0.9.13.018) ?
Date: Mon, 11 Mar 2002 22:22:44 +0100

Hi!

Thanks for a nice software kit!

I've downloaded (on Fri 8th) phpGroupWare version 0.9.13.018
(http://www.phpgroupware.org/downloads.php?filename=phpgroupware-0.9.14.RC2.
tar.bz2), installed php with IMAP support and then installed phpGW on top of
everything.

I curious if I'm wrong saying that there might be some bugs in the code
where the different IMAP servers are chosen... I got the following error
when trying to connect to our mail server at port 993 (service imaps) using
the combination "UW" / "IMAPS" in the setup:

"error trying to connect to.... ":
{my-mail-server-hostname:143/imap/ssl/no-validatecert}INBOX

As you see we try to connect to port 143 but I think this is an error.
Does this mean I need a certificate for this server (we use our own
self-genereated certs otherwise, but haven't specified any location for
that) or is this perheps a bug? I have selected IMAPS in the setup (server
config) which implies port no 993 should be used. My workaround for this was
to change every port "143" to "993" in the three include files below.


/my-path-to-apache/htdocs/phpgroupware/phpgwapi/inc/class.auth_mail.inc.php:
$GLOBALS['phpgw_info']['server']['mail_port'] = '143';
/my-path-to-apache/htdocs/phpgroupware/phpgwapi/inc/class.common.inc.php:$pr
efs['email']['mail_port'] = '143';
/my-path-to-apache/htdocs/phpgroupware/phpgwapi/inc/class.preferences.inc.ph
p:$port_number = 143;


This means our needs are fulfilled ('cause we use IMAP and SSL and our
mailserver does respond to port 993 only) but what happens if we would lika
to use port 143 connecting to another server using the same php code? For me
it seems that the choice "IMAPS" does not work as it should, but I might be
wrong.

Have you guys noticed any problem with this?

We use RedHat7.2, Apache 1.3.22, mod_ssl-2.8.5, openssl-0.9.6b, PHP 4.0.6
and patch rfc1867.c.diff-4.0.6, imap-2001a.

Our PHP configure command line looks like this:
./configure --with-apxs=/my-path-to-apache/bin/apxs --with-config-file-path=
/my-path-to-apache/conf --with-mysql --enable-track-vars --with-imap-ssl=../
imap-2001a/ --with-imap=../imap-2001a/ --with-openssl


/magnus

..................................
Magnus Asplund
Alcesys AB
Nybrogatan 34, 4tr
Box 5216
102 45 Stockholm

Vx:   +46 (0)8 517 00 800
Cell: +46 (0)70 730 8435
mailto:address@hidden
http://www.alcesys.se
..................................





reply via email to

[Prev in Thread] Current Thread [Next in Thread]