From: [EMAIL PROTECTED] Operating system: FreeBSD 4.4 RELEASE PHP version: 4.0.6 PHP Bug Type: IMAP related Bug description: imap_reopen() returns TRUE instead FALSE called with nonexistant mailbox
using imap_reopen using invalid/nonexistant mailbox name, imap_reopen() returns TRUE instead of FALSE. happens on previously, successfully opened imap stream with imap_open(), but not selecting specific mailbox, just opening connection to imapd. imapd reports 'NO Mailbox does not exist' on request 'EXAMINE INBOX.asdasdasd' (and other nonexistant mailboxes) but imap_reopen() doesn't return this error. see appended logfile from imapd connection. php-4.0.6 with following configure options: ./configure --with-mysql=/usr/local --with-ttf --enable-track-vars --with-apache=../apache_1.3.22 --with-imap --with-imlib=/usr/X11R6 --with-jpeg-dir=/usr/local --with-png-dir=/usr/local --with-zlib-dir=/usr/local --with-freetype-dir=/usr/local --with-xpm-dir=/usr/X11R6 c-client library: imap-4.7c2.tar.Z imapd: cyrus imapd 1.6.24 logfile from imapd connection: 00000001 OK User logged in 00000002 CAPABILITY n* CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS X-NON-HIERARCHICAL-RENAME NO_ATOMIC_RENAME UNSELECT ID 00000002 OK Completed 00000003 NOOP L00000003 OK Completed 00000004 EXAMINE INBOX.asdasdasd l00000004 NO Mailbox does not exist 00000005 SEARCH ALL X00000005 BAD Please select a mailbox first 00000006 LOGOUT L* BYE LOGOUT received 00000006 OK Completed -- Edit bug report at: http://bugs.php.net/?id=15197&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]