On Sun, Sep 19 2010, Lars Magne Ingebrigtsen wrote: > Julien Danjou writes: > >> Then: >> First execution: returned nil. >> >> Really really weird. :( > > The stuff in the *nnimap ...* buffers is the same whether you get a nil > or a t? If that's the case, then it has to be a race condition. No. If it returns t I got: * ENABLED QRESYNC 16034 OK Enabled. If it's nil, I got: Resolving 'keller.adm.naquadah.org'... Connecting to '127.0.1.1:993'... - Ephemeral Diffie-Hellman parameters - Using prime: 1024 bits - Secret key: 1023 bits - Peer's public key: 1023 bits - Certificate type: X.509 - Got a certificate list of 1 certificates. - Certificate[0] info: - subject `O=Dovecot mail server,OU=keller.adm.naquadah.org,CN=keller.adm.naquadah.org,EMAIL=root@keller.adm.naquadah.org', issuer `O=Dovecot mail server,OU=keller.adm.naquadah.org,CN=keller.adm.naquadah.org,EMAIL=root@keller.adm.naquadah.org', RSA key 1024 bits, signed using RSA-SHA, activated `2010-08-31 13:49:12 UTC', expires `2020-08-30 13:49:12 UTC', SHA-1 fingerprint `6279c93fc1cf5eb740420267f21a09de19e72f1c' - The hostname in the certificate matches 'keller.adm.naquadah.org'. - Peer's certificate issuer is unknown - Peer's certificate is NOT trusted - Version: TLS1.0 - Key Exchange: DHE-RSA - Cipher: AES-128-CBC - MAC: SHA1 - Compression: NULL - Handshake was completed - Simple Client Mode: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE AUTH=PLAIN] Dovecot ready. -- Julien Danjou // ᐰ http://julien.danjou.info