I can also reproduce this with current sid, with both mutt and Emacs21/Gnus as mail clients. In addition, the connection is broken abruptly after about 10s after logging in. For example, logging a Gnus imap session: Connecting to '127.0.0.1:993'... Resolving 'localhost'... - Certificate type: X.509 - Got a certificate list of 1 certificates. - Certificate[0] info: # The hostname in the certificate matches 'localhost'. # valid since: Fri Oct 24 17:15:00 BST 2003 # expires at: Sat Oct 23 17:15:00 BST 2004 # serial number: 00 # fingerprint: 9c 14 9a e5 11 39 70 ca f3 58 9d f7 74 70 c9 f4 # version: #3 # public key algorithm: RSA # Modulus: 1024 bits # Subject's DN: C=US,ST=NY,L=New York,O=Courier Mail Server,OU=Automatically-generated IMAP SSL key,CN=localhost,