From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#30347: smtpmail.el doesn't retry with authentication when greylisting is used Date: Sun, 15 Apr 2018 19:24:46 +0200 Message-ID: <878t9o9ych.fsf@mouse.gnus.org> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1523812986 25831 195.159.176.226 (15 Apr 2018 17:23:06 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 15 Apr 2018 17:23:06 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 30347@debbugs.gnu.org To: Rainer Orth Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Apr 15 19:23:02 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f7lMj-0006ay-Ka for geb-bug-gnu-emacs@m.gmane.org; Sun, 15 Apr 2018 19:23:01 +0200 Original-Received: from localhost ([::1]:57630 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f7lOq-0007L8-2w for geb-bug-gnu-emacs@m.gmane.org; Sun, 15 Apr 2018 13:25:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48418) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f7lOj-0007Jk-Hv for bug-gnu-emacs@gnu.org; Sun, 15 Apr 2018 13:25:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f7lOg-0000lk-CM for bug-gnu-emacs@gnu.org; Sun, 15 Apr 2018 13:25:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46506) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f7lOg-0000lZ-8h for bug-gnu-emacs@gnu.org; Sun, 15 Apr 2018 13:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f7lOg-0006wt-1e for bug-gnu-emacs@gnu.org; Sun, 15 Apr 2018 13:25:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 15 Apr 2018 17:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30347 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 30347-submit@debbugs.gnu.org id=B30347.152381309726698 (code B ref 30347); Sun, 15 Apr 2018 17:25:02 +0000 Original-Received: (at 30347) by debbugs.gnu.org; 15 Apr 2018 17:24:57 +0000 Original-Received: from localhost ([127.0.0.1]:54403 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f7lOb-0006wY-Fv for submit@debbugs.gnu.org; Sun, 15 Apr 2018 13:24:57 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:37550) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f7lOa-0006wQ-7i for 30347@debbugs.gnu.org; Sun, 15 Apr 2018 13:24:56 -0400 Original-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 ) id 1f7lOX-0007BU-4z; Sun, 15 Apr 2018 19:24:55 +0200 Original-Received: from larsi by corrigan with local (Exim 4.89) (envelope-from ) id 1f7lOQ-00041r-Qx; Sun, 15 Apr 2018 19:24:46 +0200 In-Reply-To: (Rainer Orth's message of "Sun, 04 Feb 2018 15:01:30 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:145393 Archived-At: Rainer Orth 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