From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id cG5ROcIB0GOjnAAAbAwnHQ (envelope-from ) for ; Tue, 24 Jan 2023 17:05:23 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id uC1FOcIB0GPLUQEA9RJhRA (envelope-from ) for ; Tue, 24 Jan 2023 17:05:22 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 2DE473BE37 for ; Tue, 24 Jan 2023 17:05:22 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pKLn1-00070i-KM; Tue, 24 Jan 2023 11:04:51 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pKLmx-00070Q-N3 for help-guix@gnu.org; Tue, 24 Jan 2023 11:04:47 -0500 Received: from bisque.elm.relay.mailchannels.net ([23.83.212.18]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pKLmv-0002Vw-Fh for help-guix@gnu.org; Tue, 24 Jan 2023 11:04:47 -0500 X-Sender-Id: dreamhost|x-authsender|peter@polidoro.io Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id EC5A5341C13; Tue, 24 Jan 2023 16:04:39 +0000 (UTC) Received: from pdx1-sub0-mail-a228.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 78385340D46; Tue, 24 Jan 2023 16:04:39 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1674576279; a=rsa-sha256; cv=none; b=PSB8xh0aR9qlmPszNxIkwcZJ829u9hIkiXnYDr0dujz2/c1yjfp68mWyzb6n8oR4ybaMRA uvOq/Ag+PhwfvikYgDaanTXzfYpJW8LSuizggilp6PXif8ox7YSFPzWc8+7r8fkoc+5dkp 9zsPNM4zdBC0LWuULyffIIYplQL2kq9JpELmgEkBF7gixZczpLPjQAtBiaAhDZf6tBSxne jqH6YEJNqVgAZ+PX2WXSafY01UHrQpIW68AJmcrh2hrGXhsOXXD3vjxaIIz9JGgUlUv+75 aeGddYIpw06AQ3R2/pP2dlb4TRl+PYvCS36OdC4Vkhbb3ZZQhEoxqHRuMUhiYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1674576279; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references:dkim-signature; bh=eFWb20IGFyS4ocwu2x3lJGnW8SpuHx/wh0pvWD8IaZU=; b=qZXW0MTyg/3zSGHFtnL+cP9wdPrvMG7jm/PY0s2+QRleVFzXYbeTfhtX4ENgwt1MynPPwV qyB8+j4CWDTdhM7sCXKJQdjQnuih9+r05/qWlt+DkKHySatxydYq6pqGM6KvmhMaFDh1sJ mAXoGUjQcMLR+RMT9n4TXWojW3nfN1DR2/lnAr1lcyLMlSRMU0aW/QbMEyJlfG7CGGwz3r uXBTVzgvAZ20JhSUPi2+ey5P2eYQ4IhcCLZuG6Ahd0NGufG6kHskads4oETYiVDPOtETuP fTfAHH/YiAs1gvugwNztFXJxKeqCM2C36g1h28xoj/uUU2HqWOnMNNpmDsgWmQ== ARC-Authentication-Results: i=1; rspamd-7cf955c847-jn9sx; auth=pass smtp.auth=dreamhost smtp.mailfrom=peter@polidoro.io X-Sender-Id: dreamhost|x-authsender|peter@polidoro.io X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|peter@polidoro.io X-MailChannels-Auth-Id: dreamhost X-Cooperative-Share: 4e5c86a6698f924f_1674576279741_1340693308 X-MC-Loop-Signature: 1674576279741:1575331703 X-MC-Ingress-Time: 1674576279741 Received: from pdx1-sub0-mail-a228.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.103.24.80 (trex/6.7.1); Tue, 24 Jan 2023 16:04:39 +0000 Received: from knave (unknown [208.72.79.30]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: peter@polidoro.io) by pdx1-sub0-mail-a228.dreamhost.com (Postfix) with ESMTPSA id 4P1Wxy62NNz1H; Tue, 24 Jan 2023 08:04:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=polidoro.io; s=dreamhost; t=1674576279; bh=eFWb20IGFyS4ocwu2x3lJGnW8SpuHx/wh0pvWD8IaZU=; h=From:To:Cc:Subject:Date:Content-Type; b=hBNf+vThfW/AHVeXyR95P8titQxEJHmnHrZP2tW/5s9GVnyzPXugOTs8S6tdB6qFC D7tpbtUDkZAUtDDOOvXC2Aq7jiWYO5N4VwuucMDjgQYJsrAr3GH9IJ//gIfzaV9b0n 0ARbFIhgH3ZYw8KHcTkp9lKnW4vvy2ehg2DMOPKqIEFWydIMrsbgoQYI4ttE9TAJhs 0+MLNc1ZvlFKdgC03RUvtBOwImDwFxP2AiTCheg38kzdzNLHfavrNX+RZeZCR/umyn Eqc6DDPa4p5UI0S2T68jFc7kJX6wlOV6XsnYHg1Dj7OIWHa8LnVhLrvbaDbkIa4LkO bhxV5SCG4WIeg== References: <87h6ziae15.fsf@polidoro.io> <87edrkgsdx.fsf@xelera.eu> User-agent: mu4e 1.8.13; emacs 28.2 From: Peter Polidoro To: Giovanni Biscuolo Cc: help-guix@gnu.org Subject: Re: mbsync with XOAUTH2 SASL mechanism Date: Tue, 24 Jan 2023 07:41:51 -0500 In-reply-to: <87edrkgsdx.fsf@xelera.eu> Message-ID: <86wn5bq5pq.fsf@polidoro.io> MIME-Version: 1.0 Content-Type: text/plain; format=flowed Received-SPF: pass client-ip=23.83.212.18; envelope-from=peter@polidoro.io; helo=bisque.elm.relay.mailchannels.net X-Spam_score_int: 15 X-Spam_score: 1.5 X-Spam_bar: + X-Spam_report: (1.5 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_03_06=1.592, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URI_DOTEDU=1.997 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=2; s=key1; d=yhetil.org; t=1674576322; a=rsa-sha256; cv=pass; b=RJwlswmI7ScbiLaDaqz39DtOljWM5lBnzHkHBNt6rkvWeDZEY5ZNRRlouoM4Xjt8byZsRz VLTAGCSVlNBt+7NyasJgXc7ALFYFVzWy6Vr1DeiLxFWcBdcZX4PaJDXUJMbxkSh01ZfLx/ TzbIw+S21XOyXoJGoGzU3sRgAuQ/qG9EgRg6oSl0JndIJPkDOzv8o9F2ME4GbcrWQzXyXe qvxuAndmH2UPlOF6ggngo2cOvZfBXU1AXHKddevprDdE0122w9x0xJmWd500GJsIIs4L5I YM+USxgNqync/sW2HjfJSqtpTOEQB3lyRvgG/5K0q30X0uZC8u2xGJAiiNgdZA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1674576322; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=eFWb20IGFyS4ocwu2x3lJGnW8SpuHx/wh0pvWD8IaZU=; b=HoOJ7YOT6z4qxzjt7VGdtgL7dQ7MK3ftwAYc91DMKmN1FxL0ZHQifE3GtmulMXAbUgBnrT z9Es3MY/TgNpm7Dd2dC8VCsD70+yYRT/3xhh6ken/fXVzwvupMgLi3VB6IsJdPPGLDPzMC rOb5JOa1GgG8dPf4iwLrb6fAAXg5jwOLuVSsOkmJBAqTjG8sZTYHqTvrsx3WjkAi20ib5k qEbYK5CxFIhnajfdCYBZ6QuQ6XGPUgXqBa0SAYLSqA1mDzN9T/U0jsJLTT+pVx9pDDpDzt xMYcBdWusvXgGhWODW/BG0lTSUlL/6IphvfyHvT0MEq+MJ3m7zaa8enmeyCTuQ== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=polidoro.io header.s=dreamhost header.b=hBNf+vTh; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none; arc=pass ("mailchannels.net:s=arc-2022:i=1") X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -5.39 X-Spam-Score: -5.39 X-Migadu-Queue-Id: 2DE473BE37 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=polidoro.io header.s=dreamhost header.b=hBNf+vTh; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none; arc=pass ("mailchannels.net:s=arc-2022:i=1") X-TUID: 1lhSdlJ2XVzn Giovanni Biscuolo writes: > have you solved your problem? No, I hate to admit that I have given up in frustration. My work email unfortunately uses office365. I work for a large nonprofit science foundation. I wish they only used free software, but some of the enterprise software is proprietary. I used to be able to read and write my work email with Emacs, but after Microsoft changed their policies, that no longer works. I found several sets of instructions online for getting outlook365 OAuth2 working with Emacs, such as this one: https://sites.uw.edu/bxf4/2022/09/01/getting-uw-outlook-365-oauth2-to-work-with-emacs-mu4e-mbsync-and-msmtp/ I submitted a cyrus-sasl-xoauth2 guix package, but the guix side is not the frustrating part. The frustrating part is that all of the instructions online say you need to create an "Azure Active Directory App". I created one and it seemed to work fine, but after a couple of weeks it expired and then I kept getting emails from Microsoft saying I needed to pay them money to keep the Azure app running. I really do not want to subscribe to anything Microsoft related, even if my work pays for it. That link references another authentication app from Thunderbird, perhaps there is a way to get something like that working with Emacs, but I could not find any detailed instructions to do so. Right now I am able to read and write personal emails in Emacs, but for all of my work emails I am forced to use Outlook in a web browser. > Last but not least, please consider that if you can (and if your > company > server/postmaster allows it) it's much better to use an "app > password" > method instead of Oauth2 > https://pypi.org/project/getmail/#oauth2-privacy-policy I wish. That is the problem. App passwords used to be allowed by office365, but they changed that policy.