[dev] Imap client and TLS

Michael Rubinsky mrubinsk at horde.org
Wed Feb 23 18:10:30 UTC 2011


Quoting Michael M Slusarz <slusarz at horde.org>:

> Quoting Michael Rubinsky <mrubinsk at horde.org>:
>
>> I'm using Dovecot 1.2.9. Using Horde with Application/Imp auth and  
>> IMP 5, I'm able to successfully authenticate more than *once* to  
>> IMP while logging in to Horde. I see a successful auth attempt in  
>> the IMAP log once, then Horde hangs when attempting the next auth  
>> attempt. Switching to an insecure auth works as expected, as does  
>> using SSL on port 993.
>
> Fixed: http://lists.horde.org/archives/commits/2011-February/006882.html

Awesome, thanks for the quick fix :)


> Whooops... just realized I committed the IMP_Mailbox code in this  
> commit push.  Should be OK - I've been testing for a few weeks.  It  
> touches a good portion of IMP though, so I'm not 100% sure I've done  
> full coverage testing.

Now I'm getting problems viewing messages in the non-dynamic mode.  
Attempting to view any message gives a message not found error. This  
may very well be an older issue unrelated to this. I logged into  
traditional mode unintentionally after I cleared cookies:

------------------------------
(1298484424.6149) S: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR  
LOGIN-REFERRALS ID ENABLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.
(1298484424.6152) C: 1 STARTTLS
(1298484424.6155) S: 1 OK Begin TLS negotiation now.
(1298484424.6267) C: [LOGIN Command - username: mike]
(1298484424.6762) S: 2 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR  
LOGIN-REFERRALS ID ENABLE SORT SORT=DISPLAY THREAD=REFERENCES  
THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN NAMESPACE UIDPLUS  
LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES  
WITHIN CONTEXT=SEARCH] Logged in
(1298484424.6767) C: 3 SELECT INBOX
(1298484424.7158) S: * FLAGS (\Answered \Flagged \Deleted \Seen \Draft  
$Junk $NotJunk $Forwarded)
(1298484424.7161) S: * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted  
\Seen \Draft $Junk $NotJunk $Forwarded \*)] Flags permitted.
(1298484424.7162) S: * 137 EXISTS
(1298484424.7163) S: * 0 RECENT
(1298484424.7164) S: * OK [UNSEEN 113] First unseen.
(1298484424.7164) S: * OK [UIDVALIDITY 1292457115] UIDs valid
(1298484424.7165) S: * OK [UIDNEXT 7297] Predicted next UID
(1298484424.7165) S: * OK [HIGHESTMODSEQ 45821] Highest
(1298484424.7166) S: 3 OK [READ-WRITE] Select completed.
(1298484424.7213) C: 4 UID SORT RETURN (ALL COUNT) (ARRIVAL) US-ASCII ALL
(1298484424.7552) S: * ESEARCH (TAG "4") UID ALL  
2031,2033,4044,5018,5754,6017,6093,6269,6320,6322,6324:6325,6327,6379,6388,6408,6414,6427,6430,6455:6457,6467:6468,6503,6505,6510,6529:6530,6532,6534:6535,6539:6540,6548,6559,6592:6593,6617:6618,6632,6652,6661,6665,6687,6703,6730,6732,6737,6742,6754:6756,6766,6770,6777,6782,6785,6788,6796,6815,6846,6853,6893,6967:6968,6990,6993:6995,7056,7070,7091,7102:7104,7108:7109,7111,7114,7120,7125,7128,7130,7136,7142,7145,7155,7175,7179:7181,7191,7195,7200,7202,7220:7221,7224,7234,7238,7241,7249:7250,7252:7253,7266:7296 COUNT  
137
(1298484424.7578) S: 4 OK Sort completed (0.001 secs).
(1298484424.7949) C: 5 EXAMINE ""
(1298484424.8330) S: 5 NO Empty mailbox name.
(1298484424.8359) C: 6 STATUS INBOX (MESSAGES UIDNEXT UIDVALIDITY)
(1298484424.8364) S: * STATUS "INBOX" (MESSAGES 137 UIDNEXT 7297  
UIDVALIDITY 1292457115)
(1298484424.8369) S: 6 OK [CLIENTBUG] Status on selected mailbox completed.
*** Problem with IMAP command. ***


mike

The Horde Project (www.horde.org)
mrubinsk at horde.org


More information about the dev mailing list