59:58.32 imaplib version 2.58 59:58.32 new IMAP4 connection, tag=DBLG 59:58.36 < * OK [CAPABILITY 0 ACL ACL2=UNION] Courier-IMAP ready. Copyright 1998-2008 Double Precision, Inc. See COPYING for distribution information. 59:58.36 matched r'\* (?P[A-Z-]+)( (?P.*))?' => ('OK', ' [CAPABILITY 0 ACL ACL2=UNION] Courier-IMAP ready. Copyright 1998-2008 Double Precision, Inc. See COPYING for distribution information.', '[CAPABILITY 0 ACL ACL2=UNION] Courier-IMAP ready. Copyright 1998-2008 Double Precision, Inc. See COPYING for distribution information.') 59:58.36 untagged_responses[OK] 0 += ["[CAPABILITY 0 ACL ACL2=UNION] Courier-IMAP ready. Copyright 1998-2008 Double Precision, Inc. See COPYING for distribution information."] 59:58.36 matched r'\[(?P[A-Z-]+)( (?P[^\]]*))?\]' => ('CAPABILITY', ' 0 ACL ACL2=UNION', '0 ACL ACL2=UNION') 59:58.36 untagged_responses[CAPABILITY] 0 += ["0 ACL ACL2=UNION"] 59:58.36 > DBLG0 CAPABILITY 59:58.36 < * CAPABILITY 0 ACL ACL2=UNION 59:58.36 matched r'\* (?P[A-Z-]+)( (?P.*))?' => ('CAPABILITY', ' 0 ACL ACL2=UNION', '0 ACL ACL2=UNION') 59:58.36 untagged_responses[CAPABILITY] 1 += ["0 ACL ACL2=UNION"] 59:58.36 < DBLG0 OK CAPABILITY completed 59:58.36 matched r'(?PDBLG\d+) (?P[A-Z]+) (?P.*)' => ('DBLG0', 'OK', 'CAPABILITY completed') 59:58.36 untagged_responses[CAPABILITY] => ['0 ACL ACL2=UNION', '0 ACL ACL2=UNION'] 59:58.36 CAPABILITIES: ('0', 'ACL', 'ACL2=UNION') E ====================================================================== ERROR: test_imap_plain_login (__main__.TestSequenceFunctions) ---------------------------------------------------------------------- Traceback (most recent call last): File "imaptest.py", line 14, in test_imap_plain_login M = imaplib.IMAP4_SSL('localhost') File "/usr/lib/python2.6/imaplib.py", line 1140, in __init__ IMAP4.__init__(self, host, port) File "/usr/lib/python2.6/imaplib.py", line 209, in __init__ raise self.error('server not IMAP4 compliant') error: server not IMAP4 compliant ---------------------------------------------------------------------- telnet localhost imap Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS LOGINDISABLED] Courier-IMAP ready. Copyright 1998-2008 Double Precision, Inc. See COPYING for distribution information. imap capability * CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS LOGINDISABLED imap OK CAPABILITY completed imap logout * BYE Courier-IMAP server shutting down imap OK LOGOUT completed Connection closed by foreign host.