[mew-int 2231] Mew + imtest
Harald Barth
haba at example.com
Mon Nov 20 08:36:01 JST 2006
Several times, I wished there would be a way to use mew with GSSAPI
authenticated IMAP. So I asked a friend to help me. Gnus uses imtest
(from the cyrus imapd package) and I thought it would be the fastest
to do it the same way. However imtest did not greet according to the
standard. So first we had to fix imtest. When imtest is configured
with GSSAPI (through cyrus-sasl) and our small patch (*) is applied,
the output of imtest is:
$ imtest mail1.kth.se
S: * OK mail1.kth.se Cyrus IMAP4 v2.2.12 server ready
C: C01 CAPABILITY
S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE IDLE STARTTLS LOGINDISABLED AUTH=GSSAPI SASL-IR
S: C01 OK Completed
C: A01 AUTHENTICATE GSSAPI XXXXXXXXXXXXXXXXXXXXXX
S: + XXXXXXXXXXXXXXXXXXXXX
C:
S: + XXXXXXXXXXXXXXXXXXXXX
C: XXXXXXXXXXXXXXXXXXXX
S: A01 OK Success (privacy protection)
Authenticated.
Security strength factor: 56
* PREAUTH imtest proxy
After that greeting, mew can issue IMAP commands.
Then my friend modified mew to use imtest with PREAUTH. I think our
patch of mew-imap.el is OK, because we can list the contents on the
IMAP server. But it works not to copy mail _to_ the imap server ("li"
command), which means that our patch to mew-imap2.el is not correct. I
think we did something wrong in the filter function. There might be
even more places that need patching. Ehm, I don't even know why there
is mew-imap and mew-imap2. So naturally, we hope you can fix the rest
;-) ;-)
Harald (and Richard).
(*) All patches can be found here:
http://www.pdc.kth.se/~haba/mew-imap/
More information about the Mew-int
mailing list