Discussion:
Any protocol logging by imapd?
Mabry Tyson
2014-08-11 11:28:13 UTC
Permalink
We have a user using imap from the Android (4.4.2) default mail client
that is doing an unexpected disconnect, apparently very shortly after
authenticating. The user is not able to access their imap mail through
that client.

I suspect the problem is with the client (the problem started occurring
at the time of its upgrade to 4.4.2), but I'd like to see the protocol
transactions just to make sure the server is communicating properly.

I don't see a way to do protocol logging from the UW-imapd server. Am I
missing something?

As it is compiled on our system, an unencrypted connection has
LOGINDISABLED so I can't get anywhere by turning off SSL/TLS. (I do
have things set up with different ports for testing imap so this won't
affect other users.)

There are several related problems reported on the Android bugs system
but none with an exact match of the symptoms. Our first hope is that
the device can be upgraded to a newer version (4.4.4) but I'm not
confident that will cure the problem. Our second hope is that we can
get the user to install a different mail client (hoping that the problem
is with the client). The last approach would be to downgrade the device
(if that's possible) but we'd want to get a proper bug report before we
did that.
Tomas Pospisek
2014-08-11 19:19:04 UTC
Permalink
Hello Mabry
Post by Mabry Tyson
We have a user using imap from the Android (4.4.2) default mail client
that is doing an unexpected disconnect, apparently very shortly after
authenticating. The user is not able to access their imap mail through
that client.
I suspect the problem is with the client (the problem started occurring
at the time of its upgrade to 4.4.2), but I'd like to see the protocol
transactions just to make sure the server is communicating properly.
I don't see a way to do protocol logging from the UW-imapd server. Am I
missing something?
As it is compiled on our system, an unencrypted connection has
LOGINDISABLED so I can't get anywhere by turning off SSL/TLS. (I do
have things set up with different ports for testing imap so this won't
affect other users.)
What you can try to do, is to have something like stunnel bind to the
IMAPS SSL port and forward the traffic to the imap-uw server. The
traffic between ssltunnel and imap-uw server will then be unencrypted
and you can run tcpdump on it, capture the stream and then analyse it in
wireshark.
Post by Mabry Tyson
There are several related problems reported on the Android bugs system
but none with an exact match of the symptoms. Our first hope is that
the device can be upgraded to a newer version (4.4.4) but I'm not
confident that will cure the problem. Our second hope is that we can
get the user to install a different mail client (hoping that the problem
is with the client). The last approach would be to downgrade the device
(if that's possible) but we'd want to get a proper bug report before we
did that.
_______________________________________________
Imap-uw mailing list
http://mailman13.u.washington.edu/mailman/listinfo/imap-uw
Loading...