From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs Subject: bug#35682: 27.0.50; Weird failure to authenticate in smtpmail Date: Sat, 11 May 2019 16:47:09 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="137854"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 35682@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat May 11 16:48:11 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hPTII-000Zjy-QP for geb-bug-gnu-emacs@m.gmane.org; Sat, 11 May 2019 16:48:10 +0200 Original-Received: from localhost ([127.0.0.1]:59861 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hPTIH-0001OL-T9 for geb-bug-gnu-emacs@m.gmane.org; Sat, 11 May 2019 10:48:09 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:41992) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hPTIB-0001Nv-EK for bug-gnu-emacs@gnu.org; Sat, 11 May 2019 10:48:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hPTIA-00020O-1T for bug-gnu-emacs@gnu.org; Sat, 11 May 2019 10:48:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55483) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hPTI9-00020E-PC for bug-gnu-emacs@gnu.org; Sat, 11 May 2019 10:48:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hPTI9-0002WX-Mm for bug-gnu-emacs@gnu.org; Sat, 11 May 2019 10:48:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 11 May 2019 14:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35682 X-GNU-PR-Package: emacs Original-Received: via spool by 35682-submit@debbugs.gnu.org id=B35682.15575860409649 (code B ref 35682); Sat, 11 May 2019 14:48:01 +0000 Original-Received: (at 35682) by debbugs.gnu.org; 11 May 2019 14:47:20 +0000 Original-Received: from localhost ([127.0.0.1]:40794 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hPTHT-0002VZ-Pw for submit@debbugs.gnu.org; Sat, 11 May 2019 10:47:20 -0400 Original-Received: from mail-wm1-f43.google.com ([209.85.128.43]:37041) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hPTHS-0002VL-Fc for 35682@debbugs.gnu.org; Sat, 11 May 2019 10:47:18 -0400 Original-Received: by mail-wm1-f43.google.com with SMTP id 7so3918423wmo.2 for <35682@debbugs.gnu.org>; Sat, 11 May 2019 07:47:18 -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=wNdXydP6LabXMnrCE+nF72CSemWjnsNlnPFJikFNIiw=; b=mXghLRWfUq41sliCq2aWbyXpvIGlX3rdCw+SFbTn+GUpZcKRaJ5t5DXmNHV2zm6AeY l2OD+PBWqG3OT1B8FbtpCKw5B+Jw7eotl90iTqFqSsjLmKdW5aeKMr22bN4ombnLB5Ay 45BeXLkrl/GmoN+GjYikO5Ur5bwjAyzDCLiVzwykBJnYn6WqiXpW2V8pU3/sECccY5Xu RK6qRgSE48cfEySoyPmShEBI7xZrQLfMY22I6Oodj4G2bT8Jkbzc8IZfJHDD4bx2WCZ5 W67yUYcZGQb1j4kELcROE4eLMQThvO3iY7IutLcYt9UUscyA0BgVZqBnTek+Uaj6Rc6W HLlg== 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=wNdXydP6LabXMnrCE+nF72CSemWjnsNlnPFJikFNIiw=; b=VgTRP4c0XAFxeTP08EAFY5NxoY+C4fFaxoM2gwmtsyl4us4if/c/5OpgwePvg+ZQlI fMaBdexOlzXGqd8h8m3/xlTWR8grR54nRk1euptxkghgC6JVYoO3Y4HVIoj3oFYrZ1OX Hx02boopPI/kEMP3Ihi6V2Rm5HUNw+i31pJ01GQpf61zTYsDOFg2u5sgCzGpmz/NAngC RqA2pHf4gVNINvM+oRLxcULgtIXk6jdWYUzy8Dnf/QYIVjd41TYXMV8p2aRkOs8zMtxd HEDmJZ9eM5KqHYk1BjG33rz21d61Al5Jfvgnop7N3dTdw1sqaf2i0YPgni3hpFTECaSn 9Alg== X-Gm-Message-State: APjAAAVv3pFrdR/691Ss6U6R9fLwF2/e1fZhBRWMb0FD9wa6LiW8HTif MhzkFXyBX9/+gQ3vmzBHMnWl3NGO X-Google-Smtp-Source: APXvYqynyKj3HmmYwpjrWwB2yZmSMJGtLyzCdQIrlVICjka6CiRwnx8re3VSh6J8Zp9KNVqNc7mXZA== X-Received: by 2002:a7b:c7d5:: with SMTP id z21mr4957571wmk.56.1557586032091; Sat, 11 May 2019 07:47:12 -0700 (PDT) Original-Received: from rpluim-mac ([2a01:e34:ecfc:a860:5197:f2f2:1d4e:f66b]) by smtp.gmail.com with ESMTPSA id v5sm18102496wra.83.2019.05.11.07.47.10 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sat, 11 May 2019 07:47:10 -0700 (PDT) Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: (Stefan Monnier's message of "Sat, 11 May 2019 09:12:40 -0400") 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: 209.51.188.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:159088 Archived-At: >>>>> On Sat, 11 May 2019 09:12:40 -0400, Stefan Monnier said: >> Talk to your SMTP admin, they've messed something up. 453 is >> basically 'go away, I=CA=BCm not accepting messages'. 530 is 'go >> away, you haven't authenticated yourself'. Stefan> Yet the text they return says pretty much what you Stefan> describe of 530. Yes, but=20 1. That text has no semantics in SMTP, it=CA=BCs only for humans 2. The extended error code they send is 4.7.1, which is=20 a) Not meant to be used with 453 b) Means "you are not allowed to send to this specific destination" =20=20=20 They should be sending 530, like SMTP servers have forever (and then smtpmail won't care about the specific extended error). >> I=CA=BCm assuming you don=CA=BCt have an authinfo entry for this use= r? Stefan> Indeed. >> If I remember correctly, when you do have such an entry >> (including a passwordless one) smtpmail.el will proactively >> authenticate, rather than wait for a rejection. (see >> smtpmail-try-auth-methods) Stefan> Shouldn't smtpmail.el also proactively authenticate when Stefan> smtpmail-smtp-user is set? Not unless you want to change longstanding default behaviour, I=CA=BCm sure people will object (although I personally think it=CA=BCs a good change). Is there a reason you can=CA=BCt put the entry in authinfo (without a password)? Robert