GNU bug report logs - #34177
smtpmail.el aborts on transient errors

Previous Next

Package: emacs;

Reported by: Brian Sniffen <bts <at> evenmere.org>

Date: Wed, 23 Jan 2019 12:11:02 UTC

Severity: normal

Tags: fixed, moreinfo, patch

Fixed in version 27.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Brian Sniffen <bts <at> evenmere.org>
To: 34177 <at> debbugs.gnu.org
Subject: bug#34177: smtpmail.el aborts on transient errors
Date: Tue, 22 Jan 2019 23:09:08 -0500
smtpmail.el treats all return codes over 400 as errors, and aborts.  But RFC 821 and successors call the 400-series “transient” errors and suggest retrying immediately.  Some mail servers, including current MS Exchange, use 400-series errors for load limiting.  The user can just repeat C-c C-c until the mail goes through... or Emacs SMTPmail could loop until the server accepts it.

Retrying is a little tricky in the case of multipart commands like LOGIN, but in general it’s safe to loop for seconds on any command.

-- 
Brian Sniffen




This bug report was last modified 5 years and 247 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.