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

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Rainer Orth <ro@HIDDEN>; dated Sun, 4 Feb 2018 14:40:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 30347 <at> debbugs.gnu.org:


Received: (at 30347) by debbugs.gnu.org; 16 Apr 2018 18:46:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Apr 16 14:46:17 2018
Received: from localhost ([127.0.0.1]:56218 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1f898r-0006Q4-7m
	for submit <at> debbugs.gnu.org; Mon, 16 Apr 2018 14:46:17 -0400
Received: from hermes.netfonds.no ([80.91.224.195]:44926)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1f898o-0006Pv-FZ
 for 30347 <at> debbugs.gnu.org; Mon, 16 Apr 2018 14:46:15 -0400
Received: from 46.67.12.60.tmi.telenormobil.no ([46.67.12.60] helo=corrigan)
 by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <larsi@HIDDEN>)
 id 1f898k-0000el-9y; Mon, 16 Apr 2018 20:46:12 +0200
Received: from larsi by corrigan with local (Exim 4.89)
 (envelope-from <larsi@HIDDEN>)
 id 1f898W-0007g0-NR; Mon, 16 Apr 2018 20:45:56 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Rainer Orth <ro@HIDDEN>
Subject: Re: bug#30347: smtpmail.el doesn't retry with authentication when
 greylisting is used
References: <yddr2q0q2f9.fsf@HIDDEN>
 <878t9o9ych.fsf@HIDDEN> <87efjfkxkx.fsf@HIDDEN>
Date: Mon, 16 Apr 2018 20:45:56 +0200
In-Reply-To: <87efjfkxkx.fsf@HIDDEN> (Robert Pluim's message of "Mon, 16
 Apr 2018 16:58:06 +0200")
Message-ID: <8736zvyopn.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 30347
Cc: 30347 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Robert Pluim <rpluim@HIDDEN> writes:

> It=CA=BCs one of the ways. Some return 451 instead. Some 421. It=CA=BCs a=
ll very
> fuzzy :-)
>
> Oh, and there=CA=BCs an official 'authentication is required' code whose
> value escapes me for the moment.

Yeah, smtpmail just uses the "relay not permitted" codes to guess that
it's supposed to try again, which aren't exactly official, either.  So
adding 450/451/421, too, probably won't break anything.

> BTW, if emacs has credentials for the connection it=CA=BCs making, would =
it
> not make sense to attempt authentication before delivery?

You'd think so...  But this might lead to some annoyances in that people
have password-protected their password store, and will now be prompted
for that password even if the SMTP server doesn't require a password.

If you see what I mean.  :-)

So I'm not sure that change would be welcomed by everybody.

--=20
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#30347; Package emacs. Full text available.

Message received at 30347 <at> debbugs.gnu.org:


Received: (at 30347) by debbugs.gnu.org; 16 Apr 2018 14:58:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Apr 16 10:58:30 2018
Received: from localhost ([127.0.0.1]:56083 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1f85aM-0005MR-Gp
	for submit <at> debbugs.gnu.org; Mon, 16 Apr 2018 10:58:30 -0400
Received: from mail-wr0-f172.google.com ([209.85.128.172]:34431)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rpluim@HIDDEN>) id 1f85aF-0005Lf-K9
 for 30347 <at> debbugs.gnu.org; Mon, 16 Apr 2018 10:58:23 -0400
Received: by mail-wr0-f172.google.com with SMTP id d19so26937771wre.1
 for <30347 <at> debbugs.gnu.org>; Mon, 16 Apr 2018 07:58:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:cc:subject:references:mail-copies-to:gmane-reply-to-list
 :date:in-reply-to:message-id:mime-version:content-transfer-encoding;
 bh=6dgs/+iUXKwf9m75R6oJO0TFQGaulwNd4o22g6wdCU4=;
 b=GQI7tJX19E6ag0lMVgIQ1gKqDTIN0VaWw9agXbZhtdDqjeOk8fiWaWcT1W3O37HcIJ
 KZE1Mnq0h+jiLNggocRSy4Uy9CDroUJrzPMD89+qHGV7saquX+edZG8tlBPSqZ+rERe5
 c3Y8cNccvYVk6FL6QludcMD9AFY7QJMA6WKGInMgImpaIMncdvmikghVMPApncVz81md
 QDplEbZXT68f8qGe9HhIN/vhFvtu/giw9fe+IOVd0DkpBgXYjK9c2Ku4RNm+fwhn1iDZ
 au4BS7SMGlhCsBuOwq8lB7ygR6KAo23z8boAW7xVhe5xnO7P28//AlToom52EfYMn1eE
 tzTA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:references:mail-copies-to
 :gmane-reply-to-list:date:in-reply-to:message-id:mime-version
 :content-transfer-encoding;
 bh=6dgs/+iUXKwf9m75R6oJO0TFQGaulwNd4o22g6wdCU4=;
 b=f64Cga1Ax+dQOZJE/HopI9WdpXGZE3jrHYLxbxWoKhxNJXYCNX8UdVtPitK8poBH22
 81MS7OCq7tESdnIpNO8dMfrcQWkYVsyus4xNhU9fsw5vPpY8x0f8qrq/1EHh9tslTExJ
 pd5D+viSQ4rtLsnAG439gPqR9r5NVjHY3Pvi0BK9H4HLLVOE2mk6QlFdbIkobBFfkfq2
 MUjD56eLjnPQsrxeZcJl6fHjY/aTbjNbcs0uImn0HYOp8Gg1JaQOMdZZq89waBXvdZnT
 oU8SgniaG33ns+hS+5z10pR++6biI5NsMBBZvscza78PhYwd55h5ML8XHC4mhOBO2mqe
 iyRQ==
X-Gm-Message-State: ALQs6tDKyEgBURcFlTAJagiTxIA4lQRVf9XzwZR0b/MgpBIQQabE946W
 HRiriz0+RbZWvAA9bG/UqNUGpAlM
X-Google-Smtp-Source: AIpwx4+JGUwBdeIQeuiHOJxAhE9cpNCclLjl9fx+L+3Je70T7t0dI1N2SxYm70WR6Lhv8M6+PNX6fA==
X-Received: by 10.223.145.35 with SMTP id j32mr11118314wrj.106.1523890693075; 
 Mon, 16 Apr 2018 07:58:13 -0700 (PDT)
Received: from rpluim-ubuntu (100.8.30.213.rev.vodafone.pt. [213.30.8.100])
 by smtp.gmail.com with ESMTPSA id i141sm12135765wmd.6.2018.04.16.07.58.11
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Mon, 16 Apr 2018 07:58:12 -0700 (PDT)
From: Robert Pluim <rpluim@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>
Subject: Re: bug#30347: smtpmail.el doesn't retry with authentication when
 greylisting is used
References: <yddr2q0q2f9.fsf@HIDDEN>
 <878t9o9ych.fsf@HIDDEN>
X-Debbugs-No-Ack: yes
Mail-Copies-To: never
Gmane-Reply-To-List: yes
Date: Mon, 16 Apr 2018 16:58:06 +0200
In-Reply-To: <878t9o9ych.fsf@HIDDEN> (Lars Ingebrigtsen's message of
 "Sun, 15 Apr 2018 19:24:46 +0200")
Message-ID: <87efjfkxkx.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 30347
Cc: 30347 <at> debbugs.gnu.org, Rainer Orth <ro@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Lars Ingebrigtsen <larsi@HIDDEN> writes:

> Rainer Orth <ro@HIDDEN> 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=CA=BCs one of the ways. Some return 451 instead. Some 421. It=CA=BCs all=
 very
fuzzy :-)

Oh, and there=CA=BCs an official 'authentication is required' code whose
value escapes me for the moment.

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

Robert




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#30347; Package emacs. Full text available.

Message received at 30347 <at> debbugs.gnu.org:


Received: (at 30347) by debbugs.gnu.org; 15 Apr 2018 17:24:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 15 13:24:57 2018
Received: from localhost ([127.0.0.1]:54403 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1f7lOb-0006wY-Fv
	for submit <at> debbugs.gnu.org; Sun, 15 Apr 2018 13:24:57 -0400
Received: from hermes.netfonds.no ([80.91.224.195]:37550)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1f7lOa-0006wQ-7i
 for 30347 <at> debbugs.gnu.org; Sun, 15 Apr 2018 13:24:56 -0400
Received: from 46.67.12.60.tmi.telenormobil.no ([46.67.12.60] helo=corrigan)
 by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <larsi@HIDDEN>)
 id 1f7lOX-0007BU-4z; Sun, 15 Apr 2018 19:24:55 +0200
Received: from larsi by corrigan with local (Exim 4.89)
 (envelope-from <larsi@HIDDEN>)
 id 1f7lOQ-00041r-Qx; Sun, 15 Apr 2018 19:24:46 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Rainer Orth <ro@HIDDEN>
Subject: Re: bug#30347: smtpmail.el doesn't retry with authentication when
 greylisting is used
References: <yddr2q0q2f9.fsf@HIDDEN>
Date: Sun, 15 Apr 2018 19:24:46 +0200
In-Reply-To: <yddr2q0q2f9.fsf@HIDDEN> (Rainer Orth's message
 of "Sun, 04 Feb 2018 15:01:30 +0100")
Message-ID: <878t9o9ych.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 30347
Cc: 30347 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Rainer Orth <ro@HIDDEN> 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?  :-)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#30347; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 4 Feb 2018 14:39:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 04 09:39:19 2018
Received: from localhost ([127.0.0.1]:56267 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1eiLRv-0005kz-FH
	for submit <at> debbugs.gnu.org; Sun, 04 Feb 2018 09:39:19 -0500
Received: from eggs.gnu.org ([208.118.235.92]:33019)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ro@HIDDEN>) id 1eiLRt-0005kk-Ir
 for submit <at> debbugs.gnu.org; Sun, 04 Feb 2018 09:39:17 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <ro@HIDDEN>) id 1eiLRn-00034J-II
 for submit <at> debbugs.gnu.org; Sun, 04 Feb 2018 09:39:12 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: ***
X-Spam-Status: No, score=3.3 required=5.0 tests=BAYES_50,
 RECEIVED_FROM_WINDOWS_HOST autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:44456)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <ro@HIDDEN>)
 id 1eiLRn-00034E-DI
 for submit <at> debbugs.gnu.org; Sun, 04 Feb 2018 09:39:11 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:52214)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <ro@HIDDEN>) id 1eiLRm-00033p-9J
 for bug-gnu-emacs@HIDDEN; Sun, 04 Feb 2018 09:39:11 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <ro@HIDDEN>) id 1eiLRi-0002yo-5w
 for bug-gnu-emacs@HIDDEN; Sun, 04 Feb 2018 09:39:10 -0500
Received: from smtp.cebitec.uni-bielefeld.de ([129.70.160.84]:51909)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <ro@HIDDEN>) id 1eiLRh-0002yb-Tf
 for bug-gnu-emacs@HIDDEN; Sun, 04 Feb 2018 09:39:06 -0500
Received: from localhost (localhost.CeBiTec.Uni-Bielefeld.DE [127.0.0.1])
 by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id 5FC329E2
 for <bug-gnu-emacs@HIDDEN>; Sun,  4 Feb 2018 15:01:53 +0100 (CET)
X-Virus-Scanned: amavisd-new at cebitec.uni-bielefeld.de
Received: from smtp.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1])
 by localhost (malfoy.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) (amavisd-new,
 port 10024) with LMTP id aitglZepjtPz for <bug-gnu-emacs@HIDDEN>;
 Sun,  4 Feb 2018 15:01:51 +0100 (CET)
Received: from manam.CeBiTec.Uni-Bielefeld.DE (p4FDDB9D4.dip0.t-ipconnect.de
 [79.221.185.212]) (using TLSv1 with cipher AES256-SHA (256/256 bits))
 (No client certificate requested)
 by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPSA id AD4149E1
 for <bug-gnu-emacs@HIDDEN>; Sun,  4 Feb 2018 15:01:51 +0100 (CET)
From: Rainer Orth <ro@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: smtpmail.el doesn't retry with authentication when greylisting is used
Date: Sun, 04 Feb 2018 15:01:30 +0100
Message-ID: <yddr2q0q2f9.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.91 (usg-unix-v)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-detected-operating-system: by eggs.gnu.org: Windows NT kernel [generic]
 [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

--=-=-=
Content-Type: text/plain

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?

Thanks.
	Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University



--=-=-=
Content-Type: text/x-patch
Content-Disposition: inline; filename=smtpmail.el.patch

--- -	2018-02-04 01:21:02.374212479 +0000
+++ /tmp/smtpmail.el	2018-02-04 01:20:44.340497887 +0000
@@ -838,8 +838,9 @@
 		 ((and auth-mechanisms
 		       (not ask-for-password)
 		       (integerp (car result))
-		       (>= (car result) 550)
-		       (<= (car result) 554))
+		       (or (and (>= (car result) 550)
+				(<= (car result) 554))
+			   (eq (car result) 450)))
 		  ;; We got a "550 relay not permitted" (or the like),
 		  ;; and the server accepts credentials, so we try
 		  ;; again, but ask for a password first.

--=-=-=--




Acknowledgement sent to Rainer Orth <ro@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#30347; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 16 Apr 2018 19:00:02 UTC

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