Timo Sirainen schrieb:
Implemented it now to v2.0: http://hg.dovecot.org/dovecot-2.0/rev/5f64f935e64b
You could test this by first verifying with older Dovecot or another IMAP server that Outlook/OE/etc. actually uses some IMAP extension, such as IDLE. Use e.g. Dovecot's rawlog or some traffic sniffer. After this try Dovecot v2.0 and see if it's still using the extension.
Ok, here are my first results. Unfortunately, Outlook/OE actually doesn't work with dovecot 2.0. Here are the traffic logs in comparison to doveot 1.2. Tell me, if you need more detailed traffic. Plain and login mechanisms are enabled on both versions. Note that dovecot 2.0 complains about login command...
With TB 2.x/3, everything works fine.
Dovecot 2.0:
0.010447 10.4.1.171 -> 10.4.1.100 IMAP Response: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE AUTH=PLAIN AUTH=LOGIN AUTH=DIGEST-MD5 AUTH=CRAM-MD5] Dovecot ready. 0.066383 10.4.1.100 -> 10.4.1.171 IMAP Request: ipxc CAPABILITY 0.066459 10.4.1.171 -> 10.4.1.100 IMAP Response: * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE AUTH=PLAIN AUTH=LOGIN AUTH=DIGEST-MD5 AUTH=CRAM-MD5 0.074466 10.4.1.100 -> 10.4.1.171 IMAP Request: ydqb LOGIN "info@xxxx.com" "mypassword" 0.085791 10.4.1.171 -> 10.4.1.100 IMAP Response: * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE AUTH=PLAIN AUTH=LOGIN AUTH=DIGEST-MD5 AUTH=CRAM-MD5 70.430669 10.4.1.100 -> 10.4.1.171 IMAP Request: 6atb LOGIN "info@xxxx.com" "mypassword" 70.430837 10.4.1.171 -> 10.4.1.100 IMAP Response: 6atb BAD Error in IMAP command LOGIN: Unknown command. 71.572186 10.4.1.171 -> 10.4.1.100 IMAP Response: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE AUTH=PLAIN AUTH=LOGIN AUTH=DIGEST-MD5 AUTH=CRAM-MD5] Dovecot ready. 71.583362 10.4.1.100 -> 10.4.1.171 IMAP Request: rf7f CAPABILITY 71.583447 10.4.1.171 -> 10.4.1.100 IMAP Response: * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE AUTH=PLAIN AUTH=LOGIN AUTH=DIGEST-MD5 AUTH=CRAM-MD5 71.591756 10.4.1.100 -> 10.4.1.171 IMAP Request: 3zq7 LOGIN "info@xxxx.com" "mypassword" 71.595471 10.4.1.171 -> 10.4.1.100 IMAP Response: * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE AUTH=PLAIN AUTH=LOGIN AUTH=DIGEST-MD5 AUTH=CRAM-MD5 72.547817 10.4.1.171 -> 10.4.1.100 IMAP Response: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE AUTH=PLAIN AUTH=LOGIN AUTH=DIGEST-MD5 AUTH=CRAM-MD5] Dovecot ready. 72.557798 10.4.1.100 -> 10.4.1.171 IMAP Request: wavo CAPABILITY 72.557859 10.4.1.171 -> 10.4.1.100 IMAP Response: * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE AUTH=PLAIN AUTH=LOGIN AUTH=DIGEST-MD5 AUTH=CRAM-MD5 72.564687 10.4.1.100 -> 10.4.1.171 IMAP Request: zvi8 LOGIN "info@xxxx.com" "mypassword" 72.568293 10.4.1.171 -> 10.4.1.100 IMAP Response: * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE AUTH=PLAIN AUTH=LOGIN AUTH=DIGEST-MD5 AUTH=CRAM-MD5 72.773022 10.4.1.171 -> 10.4.1.100 IMAP [TCP Retransmission] Response: * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE AUTH=PLAIN AUTH=LOGIN AUTH=DIGEST-MD5 AUTH=CRAM-MD5
Dovecot 1.2:
0.011031 10.4.1.172 -> 10.4.1.100 IMAP Response: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE AUTH=PLAIN AUTH=LOGIN AUTH=DIGEST-MD5 AUTH=CRAM-MD5] Dovecot ready. 0.016913 10.4.1.172 -> 10.4.1.100 IMAP Response: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE AUTH=PLAIN AUTH=LOGIN AUTH=DIGEST-MD5 AUTH=CRAM-MD5] Dovecot ready. 0.065276 10.4.1.100 -> 10.4.1.172 IMAP Request: u4j5 CAPABILITY 0.065406 10.4.1.172 -> 10.4.1.100 IMAP Response: * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH QUOTA AUTH=PLAIN AUTH=LOGIN AUTH=DIGEST-MD5 AUTH=CRAM-MD5 0.069692 10.4.1.100 -> 10.4.1.172 IMAP Request: rukl CAPABILITY 0.069810 10.4.1.172 -> 10.4.1.100 IMAP Response: * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH QUOTA AUTH=PLAIN AUTH=LOGIN AUTH=DIGEST-MD5 AUTH=CRAM-MD5 0.075379 10.4.1.100 -> 10.4.1.172 IMAP Request: gdwb LOGIN "info@xxxx.com" "mypassword" 0.079922 10.4.1.100 -> 10.4.1.172 IMAP Request: 3ihn LOGIN "info@xxxx.com" "mypassword" 0.370437 10.4.1.172 -> 10.4.1.100 IMAP Response: 3ihn OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH QUOTA] Logged in 0.370540 10.4.1.172 -> 10.4.1.100 IMAP Response: gdwb OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH QUOTA] Logged in 0.377995 10.4.1.100 -> 10.4.1.172 IMAP Request: afrf IDLE 0.378134 10.4.1.172 -> 10.4.1.100 IMAP Response: + idling 0.382945 10.4.1.100 -> 10.4.1.172 IMAP Request: frdt IDLE