gnutls_handshake

Jeff Abrahamson jeff at p27.eu
Sun Nov 7 17:38:07 UTC 2021


On Sat, Nov 06, 2021 at 06:07:45PM -0700, Kevin J. McCarthy wrote:
> 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
> 
> [...]
> 
> 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.  [...]

Thanks.  That was helpful.

The issue was the smtp_url.  In the debug output I saw the line

    External authentication name: jeff

But that misses the user's domain name.  So I needed to change

    set smtp_url =  "smtp://jeff@MY_MX_HOST:587"

to

    set smtp_url =  "smtp://jeff@p27.eu@MY_MX_HOST:587"

Indeed, adding the password helped as well.

    set smtp_url =  "smtp://jeff@p27.eu:SECRET_password@MY_MX_HOST:587"

Thanks!

Jeff Abrahamson
http://p27.eu/jeff/
http://mobilitains.fr/


More information about the Mutt-users mailing list