phpgroupware-developers
[Top][All Lists]
Advanced

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

Re: [Phpgroupware-developers] RedHat and IMAP


From: Chris Weiss
Subject: Re: [Phpgroupware-developers] RedHat and IMAP
Date: Mon, 10 Jun 2002 15:01:28 +0000

in the latest anglemail it adds only /novalidate-cert and there is a lot of 
inline
docmentation on it in email/inc/class.mail_msg_base.inc.php.  I don't use RH
(simply for their long history of breaking things and releasing very buggy 
distros)
but I understand that Angle does maintain at least one RH 7.3 server and this 
works
for him.  Also, compiling php with-imap yourself will fix the problem thus
confirming this is a RedHat issue.

Brian Johnson (address@hidden) wrote*:
>
>I've just switched from a Slackware box to a RedHat 7.3 server and am
>experiencing problems with the phpgroupware email app
>
>I previously posted a question to the phpgroupware-users mailing list that
>I've included below (it shows the error I was getting)
>
>Basically, I could no longer use the IMAP connection to the IMAP server
>(also on the new Redhat 7.3 box)
>
>I've tried the email app, squirrel mail, felilamail, and angelmail - all
>with the same results
>
>>From researching the problem over the internet, I think the problem is that
>the imap server is trying to establish a secure connection even when I'm
>just trying to connect to port 143
>(http://www.php.net/manual/en/ref.imap.php,
>http://rpms.arvin.dk/php/rh72/i586/ and
>http://cvs.horde.org/co.php/imp/config/servers.php.dist?r=1.21)
>
>I found a couple of sites that suggested using the /notls connection option
>and the /novalidate-cert connection option so you would end up with
>something like
>INBOX
>
>
>I went through all the files in the email app looking for 143 and replaced
>it with 143/notls/ and then 143/notls/novalidate-cert but neither of these
>worked
>
>I found a file called /usr/local/ssl/certs/imapd.pem and deleted it and now
>I get a different error:
>There was an error trying to connect to your mail server.
>Please, check your username and password, or contact your admin.
>source: email class.mail_msg_base.inc.php
>called from: /phpgroupware/index.php, index_data()
>imap_last_error: TLS/SSL failure for localhost: SSL negotiation failed
>
>It looks like it's still trying to establish a secure connection.
>
>I suspect that others will have the same problem in the near future since
>RedHat is a popular distribution.
>
>Would the slashes in "143/notls/novalidate-cert" be replaced with something
>else before it gets to the actual connection string?  Should it be
>"143//notls//novalidate-cert" to force the slashes to carry though to the
>line with the imap_open connection command?
>
>
>Here is my previous post and the error message I was getting:
>
>
> -----Original Message-----
>From:  Brian Johnson [mailto:address@hidden
>Sent:  Thursday, June 06, 2002 4:40 PM
>To:    'address@hidden'
>Subject:       Problems setting up phpgroupware on Redhat 7.3 machine
>
>I've been running on a Slackware machine and am trying to switch to a Redhat
>machine
>
>I've got everything phpgroupware related running except imap email access
>
>I can log into phpgroupware and use the modules (same as on the other
>machine) - but no email
>
>It gives me a errors:
>
>Warning: Couldn't open stream INBOX in
>/backup/piii_651/home/htdocs/phpgroupware/email/inc/class.mail_dcom_imap.inc
>.php on line 214
>There was an error trying to connect to your mail server.
>Please, check your username and password, or contact your admin.
>source: email class.mail_msg_base.inc.php
>called from: /phpgroupware/index.php, index_data()
>imap_last_error: Certificate failure for localhost: self signed certificate:
>/C=--/ST=SomeState/L=SomeCity/O=SomeOrganization/OU=SomeOrganizationalUnit/C
>N=localhost.localdomain/address@hidden
>
>Fatal error: Call to undefined function: parse_navbar_end() in
>/backup/piii_651/home/htdocs/phpgroupware/phpgwapi/inc/footer.inc.php on
>line 62
>
>
>I can telnet to port 143 to prove that the imap daemon is running and I can
>get email through a pop client so I know that's running
>
>I've checked phpinfo and it looks like imap support was compiled into php
>
>I'm using the standard RedHat 7.3 apache, php, and imap rpms
>
>My /var/log/secure shows:
>Jun  6 15:39:52 Pentium_75 xinetd[13074]: START: imap pid=24437
>from=127.0.0.1
>Jun  6 15:39:52 Pentium_75 xinetd[13074]: EXIT: imap pid=24437
>duration=0(sec)
>
>and my /var/log/messages shows:
>Jun  6 14:15:15 Pentium_75 imap(pam_unix)[22561]: check pass; user unknown
>Jun  6 14:15:15 Pentium_75 imap(pam_unix)[22561]: authentication failure;
>logname= uid=0 euid=0 tty= ruser= rhost=
>
>I'm using phpgroupware 0.9.14rc3
>
>Any idea why I can't get my email through imap?
>
>
>
>
>
>
>
>_______________________________________________
>Phpgroupware-developers mailing list
>address@hidden
>http://mail.gnu.org/mailman/listinfo/phpgroupware-developers
>




reply via email to

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