gnutls_handshake

Kevin J. McCarthy kevin at 8t8.us
Sun Nov 7 01:07:45 UTC 2021


On Sat, Nov 06, 2021 at 09:14:46PM +0100, Jeff Abrahamson wrote:
>On trying to send mail, I receive the following error:
>
>    gnutls_handshake: An unexpected TLS packet was received

This usually happens when Mutt is misconfigured to use smtps for port 
587.  Your email shows it configured correctly, but you still may want 
to double check the value inside Mutt via ':set ?smtp_url'.

If that doesn't help, you might try running at debug level 2 (-d 2) or 
above and see if anything jumps out; it outputs to ~/.muttdebug0.  I 
believe Mutt would give a different error if there was a problem with 
the initial exchange or with the STARTTLS command, but maybe that would 
give some idea.

Finally, perhaps try connecting to port 587 via telnet and stepping 
through the EHLO and STARTTLS sequence yourself.  Perhaps the server is 
misconfigured and is giving an error message when trying to negotiate 
tls.

-- 
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.mutt.org/pipermail/mutt-users/attachments/20211106/225be31b/attachment.asc>


More information about the Mutt-users mailing list