[Dovecot] STARTTLS problem

Lucas -LandM- lucas at landm.net
Wed Feb 2 23:47:20 EET 2011


  Hi Tio,

   Thank you very much for your quick answer.
Same error:
gnutls-cli --starttls -p 143 ip
Resolving 'ip'...
Connecting to 'ip:143'...

- Simple Client Mode:

* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE 
IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN AUTH=CRAM-MD5] Dovecot ready.
9 STARTTLS
9 OK Begin TLS negotiation now.

*** Starting TLS handshake
*** Fatal error: A TLS packet with unexpected length was received.
*** Handshake has failed
root at s13:/home/lucas# gnutls-cli --starttls -p 143 ip
Resolving 'ip'...
Connecting to 'ip:143'...

- Simple Client Mode:

* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE 
IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN AUTH=CRAM-MD5] Dovecot ready.
*** Starting TLS handshake
2 STARTTLS


*** Non fatal error: Resource temporarily unavailable, try again.
*** Fatal error: A TLS packet with unexpected length was received.
*** Handshake has failed


  Any other test?

  Regards,
   Lucas


On 02/02/2011 22:16, Timo Sirainen wrote:
> On Wed, 2011-02-02 at 21:28 +0100, Lucas -LandM- wrote:
>> * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE
>> IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN AUTH=CRAM-MD5] Dovecot ready.
>> *** Starting TLS handshake
>
> You're starting it too early. Give "x starttls" command first.
>
>



More information about the dovecot mailing list