php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18064 imap_open failure - See closed Bug 8625
Submitted: 2002-06-29 14:18 UTC Modified: 2002-07-02 17:35 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: susan at sleevetown dot com Assigned:
Status: Not a bug Package: IMAP related
PHP Version: 4.1.2 OS: FreeBSD 4.1.1-STABLE
Private report: No CVE-ID: None
 [2002-06-29 14:18 UTC] susan at sleevetown dot com
This is similar to Bug #8625.  This script works *sometimes* - perhaps 25% of the time - and 75% of the time it reports "can't connect - too many login failures.." 

$mbox = imap_open("{mail.mydomain.com:110/pop3}INBOX", "user", "password")
   			or die("can't connect: ".imap_last_error());

Acutal error is:
Warning: Couldn't open stream {mail.sleevetown.com/pop3:110}INBOX in /usr/www/users/sleeves/phpTickets/tickets.inc.php on line 73
can't connect: Too many login failures

configuration is:
 './configure' '--without-apache' '--with-config-file-path=/usr/local/etc' '--enable-magic-quotes' '--enable-bcmath' '--without-cdb' '--with-zlib-dir=/usr/local' '--with-gd' '--without-ttf' '--with-msql=/usr/local/Minerva' '--with-mysql=/usr/local' '--with-iodbc' '--with-pdflib' '--enable-inline-optimization' '--enable-memory-limit' '--with-db' '--with-gdbm' '--with-ndbm' '--without-db2' '--without-dbm' '--with-gettext' '--without-readline' '--with-recode' '--with-openssl' '--with-mcrypt' '--without-db3' '--enable-dba' '--enable-force-cgi-redirect' '--with-imap'

This script works with Linux compiled with php as apache module.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-29 18:48 UTC] sniper@php.net
Not bug in PHP but possibly in c-client / misconfiguration.
Please report this to the c-client people.

 [2002-07-02 15:00 UTC] susan at sleevetown dot com
This bug was reported to the NetBSD list in April 2002.  I have found no fix for it in your changelogs.

>Number:         16173
>Category:       pkg
>Synopsis:       imap_open in php-imap-4.1.2 doesn't work
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 02 13:32:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Heison Chak
>Release:        NetBSD 1.5.2
>Organization:
 [2002-07-02 17:35 UTC] sniper@php.net
Not bug in PHP but possibly in c-client / misconfiguration.
Please report this to the c-client people.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 13:01:31 2024 UTC