Package: libmail-imapclient-perl Version: 2.2.9+deb-3 Severity: normal
Hello, When using the 'isAuthenticated' and IIRC 'isConnected' functions of Mail::IMAPClient, I receive an error message. I presume the literal string "# isAuthenticated" (where # = transaction number) is sent to the imap server instead of being interpreted by the module. The following code: DEBUG && print "-wvh- checking if authentication was successful...\n"; if ($imap->isAuthenticated) { # or isAuthenticated() DEBUG && print "-wvh- authentication successful: LOGIN succeeded...\n"; } .... returns this result: [...] -wvh- checking if authentication was successful... Sending: 3 isAuthenticated Sent 19 bytes Read: 3 BAD Command unrecognized: ISAUTHENTICATED [...] The last IMAP command as returned by $imap->LastIMAPCommand: 2 isAuthenticated <-- last imap command The State and Status functions/variables return a correct value: 2 <-- state 1 <-- connected 2 <-- status The authentication is successful, and I can execute any imap command after this error message (unless I use the isAuthenticated() value in a conditional die() statement ofcourse -- which I initially did). Debug is on; the connection itself is made with IO::Socket::SSL and passed on to Mail::IMAPClient with the Socket option. I've worked around it by checking the return value of $imap->login. Version strings: # $Id: IMAPClient.pm,v 20001010.20 2003/06/13 18:30:55 dkernen Exp $ $Mail::IMAPClient::VERSION = '2.2.9'; Regards, Wouter Van Hemel -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.12.5 Locale: LANG=C, [EMAIL PROTECTED] (charmap=ISO-8859-15) Versions of packages libmail-imapclient-perl depends on: ii libio-socket-ssl-perl 0.97-1 Perl module implementing object or ii libparse-recdescent-perl 1.94.free-1 Generates recursive-descent parser ii perl 5.8.7-5 Larry Wall's Practical Extraction libmail-imapclient-perl recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]