GNU bug report logs - #30347
smtpmail.el doesn't retry with authentication when greylisting is used

Previous Next

Package: emacs;

Reported by: Rainer Orth <ro <at> CeBiTec.Uni-Bielefeld.DE>

Date: Sun, 4 Feb 2018 14:40:02 UTC

Severity: normal

Tags: wontfix

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: Robert Pluim <rpluim <at> gmail.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 30347 <at> debbugs.gnu.org, Rainer Orth <ro <at> 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
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Rainer Orth <ro <at> 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




This bug report was last modified 4 years and 260 days ago.

Previous Next


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