[imp] Login via imp successful but list mboxes leads to immediate logout

Michael J Rubinsky mrubinsk at horde.org
Fri Nov 13 15:18:48 UTC 2015


Quoting Jan Schneider <jan at horde.org>:

> Zitat von Herbert Pophal <pophal at tubit.tu-berlin.de>:
>
>> On 11.11.2015 17:46, Michael J Rubinsky wrote:
>>>
>>> Quoting Herbert Pophal <pophal at tubit.tu-berlin.de>:
>>>
>>>> Webmail Edition 5.1.3
>>>> IMP 6.2.2
>>>> PHP 5.5.24/5.6.8 (fcgid connected)
>>>> imap server: RHEL 6.6
>>>> cyrus-imapd-2.3.16-6.el6_2.5
>>
>> NOPE: 2.3.16-13.el6_6, Sorry
>>
>>>>
>>>> Using these PHP versions, login (via imp) works, and horde portal
>>>> shows up. Clicking Mail leads to immediate logout with message: IMAP
>>>> error reported by server.
>>>>
>>>> logfile says:
>>>> Nov 11 12:15:27 webhaupt-test HORDE: [imp] Login success for blafasel
>>>> (172.26.16.4) (forwarded for [130.149.2.58]) to
>>>> {imap://mailbox.tu-berlin.de/} [pid 24577 on line 157 of
>>>> "/afs/tu-berlin.de/units/tubit/www/horde-test.tubit/htdocs/horde-5/imp/lib/Auth.php"]
>>>>
>>>> Nov 11 12:15:28 webhaupt-test HORDE: [imp] [listMailboxes] IMAP error
>>>> reported by server. [pid 24577 on line 726 of
>>>> "/afs/tu-berlin.de/units/tubit/www/horde-test.tubit/htdocs/horde-5/imp/lib/Imap.php"]
>>>>
>>>> Nov 11 12:15:28 webhaupt-test HORDE: [imp] [listMailboxes] IMAP error
>>>> reported by server. [pid 24577 on line 726 of
>>>> "/afs/tu-berlin.de/units/tubit/www/horde-test.tubit/htdocs/horde-5/imp/lib/Imap.php"]
>>>>
>>>> Nov 11 12:15:29 webhaupt-test HORDE: [imp] [listMailboxes] IMAP error
>>>> reported by server. [pid 24577 on line 726 of
>>>> "/afs/tu-berlin.de/units/tubit/www/horde-test.tubit/htdocs/horde-5/imp/lib/Imap.php"]
>>>>
>>>> Nov 11 12:15:34 webhaupt-test HORDE: [imp] [listMailboxes] IMAP error
>>>> reported by server. [pid 24577 on line 726 of
>>>> "/afs/tu-berlin.de/units/tubit/www/horde-test.tubit/htdocs/horde-5/imp/lib/Imap.php"]
>>>>
>>>> Nov 11 12:15:34 webhaupt-test HORDE: [imp] [listMailboxes] IMAP error
>>>> reported by server. [pid 24577 on line 726 of
>>>> "/afs/tu-berlin.de/units/tubit/www/horde-test.tubit/htdocs/horde-5/imp/lib/Imap.php"]
>>>>
>>>> Nov 11 12:15:34 webhaupt-test HORDE: [imp] IMAP error reported by
>>>> server. [pid 24577 on line 606 of
>>>> "/afs/tu-berlin.de/units/tubit/www/horde-test.tubit/htdocs/horde-5/imp/lib/Application.php"]
>>>>
>>>> Nov 11 12:15:34 webhaupt-test HORDE: [horde] User opha4000 logged out
>>>> of Horde (172.26.16.4) [pid 24577 on line 107 of
>>>> "/afs/tu-berlin.de/units/tubit/www/horde-test.tubit/htdocs/horde-5/login.php"]
>>>>
>>>>
>>>> Preferences/Mail/Personal Information logs out as well, with same
>>>> message.
>>>>
>>>>
>>>> PHP 5.5.18 works so far.
>>>> Any hints, except horde upgrade?
>>>
>>> An IMAP log might be useful as well. See imp/config/backends.php
>>
>> Thanks for that hint. I originally considered to include an excerpt  
>> from cyrus log, but this didn't tell me anything useful.
>>
>> This looks suspicious: "S: 6 BAD Unexpected extra arguments to  
>> Lsub", and that the output lacks "LIST" commands.
>>
>> PHP 5.5.24 (crashes):
>> ------------------------------
>>>> Thu, 12 Nov 2015 10:30:36 +0100
>>>> Connection to: imap://mailbox.tu-berlin.de/
>>>> Server connection took 0.0076 seconds.
>> S: * OK [CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID  
>> MUPDATE=mupdate://mupdate-2-febe.intern.tu-berlin.de/ STARTTLS  
>> LOGINDISABLED AUTH=GSSAPI SASL-IR COMPRESS=DEFLATE]  
>> mail.tu-berlin.de Cyrus IMAP Murder  
>> v2.3.16-Fedora-RPM-2.3.16-13.el6_6 server ready
>> C: 1 STARTTLS
>> S: 1 OK Begin TLS negotiation now
>>>> Command 1 took 0.0018 seconds.
>>>> Successfully completed TLS negotiation.
>> C: 2 CAPABILITY
>> S: * CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID  
>> MUPDATE=mupdate://mupdate-2-febe.intern.tu-berlin.de/ AUTH=LOGIN  
>> AUTH=PLAIN AUTH=GSSAPI SASL-IR COMPRESS=DEFLATE ACL RIGHTS=kxte  
>> QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT  
>> CHILDREN MULTIAPPEND BINARY SORT SORT=MODSEQ THREAD=ORDEREDSUBJECT  
>> THREAD=REFERENCES ANNOTATEMORE CATENATE CONDSTORE SCAN IDLE LISTEXT  
>> LIST-SUBSCRIBED X-NETSCAPE URLAUTH
>> S: 2 OK Completed
>>>> Command 2 took 0.0026 seconds.
>> C: 3 AUTHENTICATE PLAIN [INITIAL CLIENT RESPONSE (username: blafasel)]
>> S: 3 OK [CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID  
>> MUPDATE=mupdate://mupdate-2-febe.intern.tu-berlin.de/ LOGINDISABLED  
>> COMPRESS=DEFLATE ACL RIGHTS=kxte QUOTA MAILBOX-REFERRALS NAMESPACE  
>> UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT  
>> SORT=MODSEQ THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE  
>> CATENATE CONDSTORE SCAN IDLE LISTEXT LIST-SUBSCRIBED X-NETSCAPE  
>> URLAUTH] Success (tls protection)
>>>> Command 3 took 0.1761 seconds.
>>>> CACHE: Using the Horde_Imap_Client_Cache_Backend_Cache storage driver.
>> C: 4 LOGOUT
>> S: * BYE LOGOUT received
>> S: 4 OK Completed
>>>> Command 4 took 0.001 seconds.
>> ------------------------------
>>>> Thu, 12 Nov 2015 10:30:37 +0100
>>>> Connection to: imap://mailbox.tu-berlin.de/
>>>> Server connection took 0.003 seconds.
>> S: * OK [CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID  
>> MUPDATE=mupdate://mupdate-2-febe.intern.tu-berlin.de/ STARTTLS  
>> LOGINDISABLED AUTH=GSSAPI SASL-IR COMPRESS=DEFLATE]  
>> mail.tu-berlin.de Cyrus IMAP Murder  
>> v2.3.16-Fedora-RPM-2.3.16-13.el6_6 server ready
>> C: 1 STARTTLS
>> S: 1 OK Begin TLS negotiation now
>>>> Command 1 took 0.0011 seconds.
>>>> Successfully completed TLS negotiation.
>> C: 2 [INITIAL CLIENT RESPONSE (username: blafasel)]
>> S: +
>> C: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>> S: 2 OK [CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID  
>> MUPDATE=mupdate://mupdate-2-febe.intern.tu-berlin.de/ LOGINDISABLED  
>> COMPRESS=DEFLATE ACL RIGHTS=kxte QUOTA MAILBOX-REFERRALS NAMESPACE  
>> UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT  
>> SORT=MODSEQ THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE  
>> CATENATE CONDSTORE SCAN IDLE LISTEXT LIST-SUBSCRIBED X-NETSCAPE  
>> URLAUTH] Success (tls protection)
>>>> Command 2 took 0.0957 seconds.
>>>> CACHE: Using the Horde_Imap_Client_Cache_Backend_Cache storage driver.
>> C: 3 NAMESPACE
>> S: * NAMESPACE (("" "/")) (("Other Users/" "/")) (("Shared Folders/" "/"))
>> S: 3 OK Completed
>>>> Command 3 took 0.005 seconds.
>> C: 4 LSUB "" INBOX
>> C: 5 LSUB "" *
>> C: 6 LSUB "" "Other Users/*"""
>> C: 7 LSUB "" "Shared Folders/*"""
>
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> This is the issue.
> I remember seeing this recently, please check the mailing list  
> archive and bug tracker.



https://bugs.horde.org/ticket/13825


-- 
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5751 bytes
Desc: S/MIME Signature
URL: <http://lists.horde.org/archives/imp/attachments/20151113/af3bb69d/attachment.bin>


More information about the imp mailing list