all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "João Pedro" <jpedrodeamorim@gmail.com>
To: torys.anderson@gmail.com
Cc: Emacs developers <emacs-devel@gnu.org>
Subject: Re: Dynamically switching send-mail settings
Date: Thu, 11 Apr 2024 16:51:25 -0300	[thread overview]
Message-ID: <87y19jisoy.fsf@ergo> (raw)
In-Reply-To: 878ufwotot.fsf@gmail.com

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	other threads:[~2024-04-11 19:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-11 19:51 João Pedro [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-02-08 21:49 Dynamically switching send-mail settings (WAS: > 24.3 can't send mail) Robert Thorpe
2015-02-09  2:54 ` Dynamically switching send-mail settings Tory S. Anderson
     [not found] ` <mailman.19558.1423450457.1147.help-gnu-emacs@gnu.org>
2015-02-09  5:03   ` Lars Magne Ingebrigtsen
2015-02-09 12:18     ` Tory S. Anderson
2015-02-18  1:20       ` Lars Ingebrigtsen
2015-02-18  2:10         ` Tory S. Anderson
2015-04-15 16:08       ` Lars Magne Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y19jisoy.fsf@ergo \
    --to=jpedrodeamorim@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=torys.anderson@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.