From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eric S Fraga Newsgroups: gmane.emacs.devel Subject: Re: gmail+imap+smtp (oauth2) Date: Fri, 13 May 2022 09:57:36 +0100 Organization: On the Interweb somewhere Message-ID: <87fsldq073.fsf@ucl.ac.uk> References: <871qxbdulc.fsf@mat.ucm.es> <87k0b2tkg1.fsf@mat.ucm.es> <87zgjx4qhs.fsf@gmail.com> <87bkwcgmr3.fsf@mat.ucm.es> <87levfzqj2.fsf@yale.edu> <87sfpnkl6w.fsf@ucl.ac.uk> <875ymaq1pv.fsf@yale.edu> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24284"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) To: emacs-devel@gnu.org Cancel-Lock: sha1:/TD19gKbDqKX/gnSrPWsw670qEI= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri May 13 11:03:37 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 1npRCy-0006BU-Mw for ged-emacs-devel@m.gmane-mx.org; Fri, 13 May 2022 11:03:36 +0200 Original-Received: from localhost ([::1]:45838 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1npRCx-0004Z1-PZ for ged-emacs-devel@m.gmane-mx.org; Fri, 13 May 2022 05:03:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38426) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1npR7J-0007s7-Mt for emacs-devel@gnu.org; Fri, 13 May 2022 04:57:45 -0400 Original-Received: from ciao.gmane.io ([116.202.254.214]:60890) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1npR7H-00061V-5D for emacs-devel@gnu.org; Fri, 13 May 2022 04:57:44 -0400 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1npR7F-0008ni-25 for emacs-devel@gnu.org; Fri, 13 May 2022 10:57:41 +0200 X-Injected-Via-Gmane: http://gmane.org/ X-Url: http://twitter.com/ericsfraga/ Received-SPF: pass client-ip=116.202.254.214; envelope-from=ged-emacs-devel@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, 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:289717 Archived-At: Apologies: I replied off-list by mistake. Here is my reply: On Thursday, 12 May 2022 at 10:12, Jorge A. Alfaro-Murillo wrote: > Thank you! I'll take a look. Does it allow you to send emails with > smtpmail too? Supposedly but I have not tried this yet. I will have to soon, mind you, as our Exchange server will be requiring multi-factor authentication for SMTP as well in a little while. > Would you mind sharing your gnus/smtpmail setup after davmail is > running? I have this as one of my mail-sources: (list 'pop :server "localhost" :user "my exchange user id" :port 1110) I use pop to retrieve the email from the Exchange server. The port is for davmail on the localhost, as noted in the instructions. I then have (setq gnus-secondary-select-methods '((nnml "outlook" (gnus-search-engine gnus-search-notmuch (remove-prefix "/home/ucecesf/Mail") (config-file "/home/ucecesf/.notmuch-config") ) (get-new-mail t)) ...)) This is all I had to do. HTH, eric -- Eric S Fraga via gnus (Emacs 29.0.50 2022-05-10) on Debian 11.3