unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Robert Pluim <rpluim@gmail.com>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 30347@debbugs.gnu.org, Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Subject: bug#30347: smtpmail.el doesn't retry with authentication when greylisting is used
Date: Mon, 16 Apr 2018 16:58:06 +0200	[thread overview]
Message-ID: <87efjfkxkx.fsf@gmail.com> (raw)
In-Reply-To: <878t9o9ych.fsf@mouse.gnus.org> (Lars Ingebrigtsen's message of "Sun, 15 Apr 2018 19:24:46 +0200")

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> writes:
>
>> I've long been dealing with the following problem: I'm using GNU Emacs
>> (current 26.0.91, but the problem has existed for a long time before
>> that) and Gnus to send mail.  The relaying MTA uses greylisting when
>> receiving mail for local accounts without authentication, but
>> smtpmail.el cannot deal with the resulting temporary SMTP codes.  I'd
>> expect that it would retry with authentication, but doesn't.
>>
>> I've used the following snippet to fix this.  Perhaps this (or something
>> similar) can be used to fix this issue?
>
> Hm...  Well, the SMTP error message you're getting is "450, Requested
> mail action not taken: mailbox unavailable."?  Retrying with a password
> seems a bit odd in that instance.  On the other hand, if this is the
> common way for SMTP servers to say that "we're greylisting; log in
> first" then it would be OK anyway.
>
> But is it?  :-)

Itʼs one of the ways. Some return 451 instead. Some 421. Itʼs all very
fuzzy :-)

Oh, and thereʼs an official 'authentication is required' code whose
value escapes me for the moment.

BTW, if emacs has credentials for the connection itʼs making, would it
not make sense to attempt authentication before delivery?

Robert





  reply	other threads:[~2018-04-16 14:58 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-04 14:01 bug#30347: smtpmail.el doesn't retry with authentication when greylisting is used Rainer Orth
2018-04-15 17:24 ` Lars Ingebrigtsen
2018-04-16 14:58   ` Robert Pluim [this message]
2018-04-16 18:45     ` Lars Ingebrigtsen
2018-04-17 10:33       ` Robert Pluim
2018-04-17 12:45         ` Lars Ingebrigtsen
2018-04-17 16:14           ` Robert Pluim
2020-09-07 20:49             ` Lars Ingebrigtsen
2020-09-08  9:59               ` Robert Pluim
2020-09-08 10:02                 ` Lars 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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87efjfkxkx.fsf@gmail.com \
    --to=rpluim@gmail.com \
    --cc=30347@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    --cc=ro@CeBiTec.Uni-Bielefeld.DE \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).