Problems connecting to IMAP email account on 3G/4G
Running into the same problem....adding more info:

I just had my Droid 4 upgraded to 4.1.2.  When trying to configured IMAPS, I'm getting the same error.  I run the IMAP server I'm connecting to, so I can do some additional troubleshooting.

I'm running dovecot as an IMAP server.  Here are the log messages:

dovecot: imap-login: Disconnected: Inactivity (no auth attempts): rip=x.x.x.x, lip=x.x.x.x, TLS handshaking
dovecot: imap-login: Disconnected: Inactivity (no auth attempts): rip=x.x.x.x, lip=x.x.x.x, TLS handshaking
dovecot: imap-login: Disconnected: Inactivity (no auth attempts): rip=x.x.x.x, lip=x.x.x.x, TLS handshaking


I also ran a packet capture.  The phone goes through the TCP 3-way handshake (SYN, SYN-ACK, ACK), and then does nothing.  No packets after the last ACK.  That probably explains the inactivity message in the dovecot log.

In the configuration, I told the client to use TLS (Accept all certificates), use port 993.  I have tried multiple 'Authentication Methods' (auto, plain, etc).  Nothing worked.

These settings (IMAPS, 993, auto) worked fine on 4.0.4