emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dynamically switching send-mail settings


From: João Pedro
Subject: Re: Dynamically switching send-mail settings
Date: Thu, 11 Apr 2024 16:51:25 -0300

Hi Tory and all,

Do you still remember how you managed to fix this particular issue? I
know its been quite a while, but I've started to get a similar issue
which I supposed is caused by what Lars suggested, that the SMTP server
(Gmail) is closing the connection. I could provide some more details of
my setup to help understand what's going on, but I get the following
message:

gnutls.el: (err=[-15] An unexpected TLS packet was received.) boot: (:priority 
NORMAL:%DUMBFW :hostname smtp.gmail.com :loglevel 0 :min-prime-bits nil 
:trustfiles (/etc/ssl/certs/ca-certificates.crt) :crlfiles nil :keylist nil 
:verify-flags nil :verify-error nil :callbacks nil)

and, with `smtpmail-debug-info' and `smtpmail-debug-verb' both set to
`t', I get the following messages in the trace buffer:

smtp.gmail.com ESMTP a6-20020a170902ecc600b001e45c0d6ce6sm1531247plh.306 - gsmtp
502-5.5.1 Unrecognized command. For more information, go to
502 5.5.1  https://support.google.com/a/answer/3221692 
a6-20020a170902ecc600b001e45c0d6ce6sm1531247plh.306 - gsmtp
...
451-4.4.2 Timeout - closing connection.
451-4.4.2  For more information, go to
451 4.4.2  https://support.google.com/a/answer/3221692 
a6-20020a170902ecc600b001e45c0d6ce6sm1531247plh.306 - gsmtp

Process smtpmail<10> connection broken by remote peer

I don't know why it is closing the connection, or how to tell
smtpmail.el to close the connection after some time. It isn't stopping
me from sending emails, but it is quite bothersome to have that popup on
my echo area from time to time...

-- 
João Pedro de A. Paula
IT bachelors at Universidade Federal do Rio Grande do Norte (UFRN)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]