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#34540: 26.1; can't change location of .authinfo Date: Tue, 19 Feb 2019 21:59:20 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="140833"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 34540@debbugs.gnu.org To: Hanno Jung Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 19 22:00:13 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 1gwCUt-000aRV-Rs for geb-bug-gnu-emacs@m.gmane.org; Tue, 19 Feb 2019 22:00:11 +0100 Original-Received: from localhost ([127.0.0.1]:54944 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gwCUs-0007vO-U0 for geb-bug-gnu-emacs@m.gmane.org; Tue, 19 Feb 2019 16:00:10 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:56492) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gwCUm-0007tx-B8 for bug-gnu-emacs@gnu.org; Tue, 19 Feb 2019 16:00:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gwCUl-0001Zo-IF for bug-gnu-emacs@gnu.org; Tue, 19 Feb 2019 16:00:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56370) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gwCUl-0001Ze-A7 for bug-gnu-emacs@gnu.org; Tue, 19 Feb 2019 16:00:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gwCUk-00020P-PD for bug-gnu-emacs@gnu.org; Tue, 19 Feb 2019 16:00:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 19 Feb 2019 21:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34540 X-GNU-PR-Package: emacs Original-Received: via spool by 34540-submit@debbugs.gnu.org id=B34540.15506099717628 (code B ref 34540); Tue, 19 Feb 2019 21:00:02 +0000 Original-Received: (at 34540) by debbugs.gnu.org; 19 Feb 2019 20:59:31 +0000 Original-Received: from localhost ([127.0.0.1]:55651 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gwCUF-0001yy-Hf for submit@debbugs.gnu.org; Tue, 19 Feb 2019 15:59:31 -0500 Original-Received: from mail-wm1-f41.google.com ([209.85.128.41]:53233) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gwCUD-0001yk-SC for 34540@debbugs.gnu.org; Tue, 19 Feb 2019 15:59:30 -0500 Original-Received: by mail-wm1-f41.google.com with SMTP id m1so4307873wml.2 for <34540@debbugs.gnu.org>; Tue, 19 Feb 2019 12:59:29 -0800 (PST) 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; bh=36rtN072m3F0nagCXS+MSKPUDkUwyok6TCRWorFvMkI=; b=Kwf4XMj7D/gspBHgFGUqYJVXIFVIjpBSKYqcRaq59i/THTnKqDafj0lL/xdWuv6NEZ C55ekFajFofrJfWFJnxw7UPCe58Tk/qd1366aHsfJD0f5qTb5WeAOycTAVRSN+OgOO8i azwppU9go4y2IdQixSw0G8AYTB14QhAuIhAaMyJqGdogeKZ4ezfVsGp6SK2FOwe3D0Hj 3mENfvDV1Znlyepg3P725m8F14mpgNHjtylN60Ur+NukqEA55BxfQ+XCdENZRL+8zolU 3g+BQB5HP9ljN+/CmEzPwkHTy3bHK+TWiBPl/eY/owKWbPfIMC79jdAKkPz+t71qyoDm t1Dw== 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; bh=36rtN072m3F0nagCXS+MSKPUDkUwyok6TCRWorFvMkI=; b=aWSjqrfY7//Ifa3zp31RZ1R9b1stWcggplaK2G/aZU7TtAM8Fc+mMiUri0wf+UxLzS 2wSVlHrN3U82VvqqUE8G6A9hJt9BhIHvLcvA6L74RXWyoima6hTguUHjNHTKnbl26SGz b2Ax8HL1ZrVLX936kRqiOSR2D8svw4YgfIpY4G1fu5VvshH5BU9ivOLSZN/Pcbf7qPBq qhJZQX1HyEd90OHKGNy2rHRcfETFY1vomZxfEPCUue8nPe0VxXKyVOLKb6ne68Tx8SC1 sqaajNxAjCboieQ5lRtAbJYfHzhrbsj7fl5wCXGq5CXjFdO9+geohQoBn8ObFZwuxTMC chPw== X-Gm-Message-State: AHQUAuYcYrg+i9X3nRaEb396K8KNRtd6HPZS22riUJqXRyz5fYtZVVG9 9OCzIZJOghbZoeL62bcfuQNWk/cc3nI= X-Google-Smtp-Source: AHgI3IZZC2j6C7WxPgdUJSBtpk9Pj5ZRnBrrN9rmN4c5Poa9Vc33MpUm4kDGwr268hbgwFIxWJgLMA== X-Received: by 2002:a1c:cc04:: with SMTP id h4mr4486505wmb.13.1550609963426; Tue, 19 Feb 2019 12:59:23 -0800 (PST) Original-Received: from rpluim-mac ([2a01:e34:ecfc:a860:c571:c640:baa2:65db]) by smtp.gmail.com with ESMTPSA id y20sm31528792wra.51.2019.02.19.12.59.21 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 19 Feb 2019 12:59:22 -0800 (PST) Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: (Hanno Jung's message of "Tue, 19 Feb 2019 21:16:44 +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: 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:155573 Archived-At: Hanno Jung writes: >> (auth-source-search :max 1 :host "smtp.gmail.com" :user "myusername" >> :port 587) > > It does return "nil" >> >> What's the value of smtpmail-smtp-service (it should be 587, otherwise >> the auth-source lookup done by smtpmail will fail). > > it is 25 > Well that explains it: smtpmail wants to match the port specified by smtpmail-smtp-service, so you need to either adjust its value, or change the value in .authinfo. > (custom-set-variables > ;; custom-set-variables was added by Custom. > ;; If you edit it by hand, you could mess it up, so be careful. > ;; Your init file should contain only one such instance. > ;; If there is more than one, they won't work right. > '(send-mail-function (quote smtpmail-send-it)) > '(smtpmail-smtp-server "smtp.gmail.com") > '(smtpmail-smtp-service 25)) > (custom-set-faces > ;; custom-set-faces was added by Custom. > ;; If you edit it by hand, you could mess it up, so be careful. > ;; Your init file should contain only one such instance. > ;; If there is more than one, they won't work right. > ) > > > After deleting it, I was asked for the smtp-server, username, password > again. And I was asked if I wanted to save that into the path that I > already provided "/custom_folder/.authinfo". After acknowledging that I > had an additional line in "/custom_folder/.authinfo" with the corrected > data except for the port which was 25. And this just confirms it further. Robert