From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: [SOLVED (magic?)] Date: Fri, 03 Jun 2022 16:04:13 +0200 Message-ID: <87tu91yhb6.fsf@gmail.com> References: <871qxbdulc.fsf@mat.ucm.es> <87k0b2tkg1.fsf@mat.ucm.es> <87zgjx4qhs.fsf@gmail.com> <87bkwcgmr3.fsf@mat.ucm.es> <87sfpo3xai.fsf@gmail.com> <87a6bsw0pc.fsf@mat.ucm.es> <87mtfs2ev9.fsf@gmail.com> <874k20vuy4.fsf@mat.ucm.es> <87ilqf2j92.fsf@gmail.com> <87a6bpsxxk.fsf@mat.ucm.es> <874k1x7qkw.fsf@gmail.com> <875yljjdvg.fsf_-_@mat.ucm.es> <87pmjrgjpy.fsf_-_@mat.ucm.es> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15140"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jun 03 16:05:25 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nx7vY-0003gC-I8 for ged-emacs-devel@m.gmane-mx.org; Fri, 03 Jun 2022 16:05:24 +0200 Original-Received: from localhost ([::1]:52114 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nx7vX-0004XU-2w for ged-emacs-devel@m.gmane-mx.org; Fri, 03 Jun 2022 10:05:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50548) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nx7uW-00036G-9p for emacs-devel@gnu.org; Fri, 03 Jun 2022 10:04:20 -0400 Original-Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]:40672) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nx7uU-0007c3-IF for emacs-devel@gnu.org; Fri, 03 Jun 2022 10:04:20 -0400 Original-Received: by mail-wr1-x430.google.com with SMTP id k16so10549021wrg.7 for ; Fri, 03 Jun 2022 07:04:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:references:gmane-reply-to-list:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=zOFqTGV7V3jmxAHRr6ZWWGrIUZbcTZCw2zUCCa1XdSE=; b=HKIG62plSOSTK1iCnKE61sYOHFQ8slp5qCMK1IOA3TVLPQDh/X4xIVn6r7seNHpJT9 gsBkuwPj+bOd/APAnHAkShDUiLrbrc1Xg6g/0J2b+fq6hyXz2yfFsjUxRSvDWnHEF9pl LzPlt2118BDO2OnakAJZzabZyXJzgDfilVahrF/UvniJUGWw2diBz5J33NYmJaF1O2AZ q9GR3/7ydrRPViTCh8NZrMGNit+BuCfhqoFJCRgT0HbO3uVl5HQ2SZoEEv86ba/3BelJ VCv1Uwk77xDOguIw4dfjV2snb6EuIwJVCrfwejCPYHgkYKQi1wT4ncTa4zQqK8Dwd7hP teiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:references:gmane-reply-to-list :date:in-reply-to:message-id:mime-version:content-transfer-encoding; bh=zOFqTGV7V3jmxAHRr6ZWWGrIUZbcTZCw2zUCCa1XdSE=; b=ltR+xefGNGO2wBzdp8iO5aAUQ+RG+rJkRDv+zu8gP/AtAoHj5PlEh8P4Nv5o1asSYA 2aaghrZ1a2rb3JeImQR+QGXqFtO3xBRnqFSi23PjpO6WGjNCwFVm4zEC2gTEhN1obsnu MO8JeMF+auVw9zKvw31JSGYsZFIniUUxDPXZiY14uIKqjOFyJyws0EyihCiZFa3xTPW9 VV+H8Cn9qhNfqaSz5tgKPoeBmjCUbp2Zypz8D6hCD2qWirmcAR71K1L7Ll0vtG83JYnU UTXCPsYAOXglmLJeEllQRizTdz1yuwA6G7PoL7OZlGlD0aEfVl+lzTqC6d7FRF/XUE5D oV8Q== X-Gm-Message-State: AOAM5320gpgPw/8MhmxyDDrPfHZ0ekvdZrKQ8MeP7ykbONBN7ePXkd9u 8q6M62TxhMkkP05qa63n/GhWEYXC9SI= X-Google-Smtp-Source: ABdhPJxEAmwtXWJwSC3zaXnIBiM6AcFX0dh8J1K52OjBWJLikKxkmWTJCeMxmqdYgYp1rD92X6iuew== X-Received: by 2002:a05:6000:791:b0:20e:615c:aae4 with SMTP id bu17-20020a056000079100b0020e615caae4mr8401092wrb.206.1654265055790; Fri, 03 Jun 2022 07:04:15 -0700 (PDT) Original-Received: from rltb ([2a01:e0a:3f3:fb50:2b31:1b21:ebd2:cb6b]) by smtp.gmail.com with ESMTPSA id be5-20020a05600c1e8500b003942a244ee6sm9059203wmb.43.2022.06.03.07.04.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Jun 2022 07:04:14 -0700 (PDT) Gmane-Reply-To-List: yes In-Reply-To: <87pmjrgjpy.fsf_-_@mat.ucm.es> (Uwe Brauer's message of "Thu, 02 Jun 2022 17:37:13 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::430; envelope-from=rpluim@gmail.com; helo=mail-wr1-x430.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:290629 Archived-At: >>>>> On Thu, 02 Jun 2022 17:37:13 +0200, Uwe Brauer said: >> | Uwe> (setq gnus-select-method (list 'nnnil ""))=20 >> | Uwe> (setq gnus-secondary-select-methods nil) >> | Uwe> (setq gnus-secondary-select-methods >> | Uwe> '( >> | Uwe> (nnimap "UCMgmail" >> | Uwe> (nnimap-address "imap.gmail.com") >> | Uwe> (nnimap-server-port 993) >> | Uwe> ;; (nnimap-authinfo-file "~/.authinfo.gpg= ") >> | Uwe> (nnimap-authinfo-file "~/.authinfo") >> | Uwe> (nnimap-stream ssl) >> | Uwe> ;;(nnimap-stream starttls) >> | Uwe> (nnimap-fetch-partial-articles "text/") >> | Uwe> (nnir-search-engine imap)))) >> |=20 >> | Uwe> And put in authinfo my app password instead my =C2=ABnorm= al=C2=BB one? >> |=20 >> | Yes >> |=20 >> | Robert >> `---- >> Be it as it may, it *does not work*=20 Uwe> Well, you are not going to belive, it but after makeing the follow= ing minor change: Uwe> machine smtp.gmail.com login oub.oub.oub@gmail.com port 587 passwo= rd XXXXX Uwe> machine imap.gmail.com login oub.oub.oub password XXXX port imaps You made the 'machine' value match your nnimap-address? That seems sensible. Uwe> After *restarting emacs*,=20 Uwe> I can now again access my private gmail account,=20 Uwe> Sorry for the noise. Uwe> May I suggest to add a section to the authinfo info file, describi= ng the Uwe> use of gmail app-passwords. It sounds more like we need to document better that .authinfo entries can sometimes be cached, so `auth-source-forget-all-cached' might need to be called when messing with it (it=CA=BCs currently described in the 'help for developers' section). Uwe> If you like I can give it a try (I would send you my proposal off = list) Uwe> and you can decide for yourself. Uwe> Sometimes a novice (like me concerning gmail app passwords) might = mention Uwe> things that seem trivial to the expert. It=CA=BCs not that they=CA=BCre trivial or non-trivial: changing .authinfo happens rarely enough that any such caching issues are not obvious. Robert --=20