From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 8CjsDkk3cWN4TwEAbAwnHQ (envelope-from ) for ; Sun, 13 Nov 2022 19:28:25 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 4D3oDUk3cWPPWgEAG6o9tA (envelope-from ) for ; Sun, 13 Nov 2022 19:28:25 +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 DF9E523EB1 for ; Sun, 13 Nov 2022 19:28:24 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ouHi0-0004BU-HE; Sun, 13 Nov 2022 13:27:57 -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 1ouHhy-0004BG-N7 for help-guix@gnu.org; Sun, 13 Nov 2022 13:27:55 -0500 Received: from mx1.dismail.de ([78.46.223.134]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ouHhw-0006EC-6x for help-guix@gnu.org; Sun, 13 Nov 2022 13:27:54 -0500 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 82df175b; Sun, 13 Nov 2022 19:27:36 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:in-reply-to:references:date:message-id:mime-version :content-type; s=20190914; bh=JJDQ91LXGllydygLQ6DHerdqBQPVWuqmaR yIzEHdyZY=; b=VtKCSJ/mkOnsjP9MtgPoz3mfWVttGnznqvvEAC8QaTJSOydd9x LfmdppFeGJfxJR0yQHc6/VlJRgRfg74TyzOlfXEqoPYjvK1NU2Y68G9ckU0hwZ+t Dylfw6D/HPxplDGjP5Tf24JhYKoaQYaLjc559VttRlOqkeSyf6f4FuZGIq7Ob4mQ 9gDdZnu5Do+8pqVgHY3L5U95/9dKvAT5RQVnaAXUZUDWH7I+N7BZoeotK/fyjLbb PnkWFymM7TtfnlyBmDEVqwnSH9hbcMmmbKvtSxZqKF7ah8vVw0YWpvSebrTsecDV HoGkNPBLWofk8QZGJlQXFsuST0b9KdCyajWQ== Received: from smtp1.dismail.de ( [10.240.26.11]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 3a290985; Sun, 13 Nov 2022 19:27:35 +0100 (CET) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id 8e2549be; Sun, 13 Nov 2022 19:27:35 +0100 (CET) Received: by dismail.de (OpenSMTPD) with ESMTPSA id c8f3fe80 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sun, 13 Nov 2022 19:27:35 +0100 (CET) From: Joshua Branson To: Peter Polidoro Cc: help-guix@gnu.org Subject: Re: mbsync with XOAUTH2 SASL mechanism In-Reply-To: <87h6ziae15.fsf@polidoro.io> (Peter Polidoro's message of "Tue, 01 Nov 2022 11:13:55 -0400") References: <87h6ziae15.fsf@polidoro.io> X-Gnus-Sucks: I know man Date: Sun, 13 Nov 2022 13:27:31 -0500 Message-ID: <878rkeogks.fsf@dismail.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=78.46.223.134; envelope-from=jbranso@dismail.de; helo=mx1.dismail.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1668364104; 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=9uLmNq+tn9LidCTikd3EEf8s2S2AphhpgtRCB3pbpk0=; b=BCSxu/i0+Q22Wmnezev/20fNUZ10gyXy1WnLM7LwEprXna9UB5js5t9Vm0tc0tuHfu45c3 fPGN+hDxqjm0fjT29vmJrhnGFb9JOamZ/Injv1aJv0obur1+Eo4/MKJ8Zq2k0a7bhBAupF xbuSbbwrl1021r9l6YX9bQTP/nk0C43VJ2Ava3GvP1xu7v1XklS7cbmEWwXitGED03cLVY d1GkN37ClhD5SJ/dlS41DJtL0YZL2epLjCEKpDW6RAoKxEn7mHBcjDaHTXBKIC08QJ7rcx Vz1vi1NBD69xHaqAMAuXfn5Hhv97ndJ8kY9cUkEelEnRfpyQBXeuADRZPYIVsw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668364104; a=rsa-sha256; cv=none; b=M+aglxVripxWVRjTGKYvTyRFdeIsno3BDvGhOPYEwtGN6c1nU/EbhGdS3qocADC2k7yWcR idUCXUHZ7SRQXhffAdYpLdtMvSaKX8J8nQUhsB20mBcDJ62ixro9XZkEZVI5NHrUX/sL39 GfKgbCDXgRVNEMwFzpWIdNIsSphw4IVMJToW5bl8Z9YXvrKerdx7J1PW9ZjP9VcF0bBnDg CB1cUHszm18/Qk5RVs9JeqdHWDUggcGF4JSx+wdH0noSTD/MLUtrb5Xiqmatcq+smaH4c9 O4HgfWeLLdvkhMn7y4oYG6lYeKgG/Z6uhFH8Ip43Z6mSl8Tk8+WA7jlzCQ02Wg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=dismail.de header.s=20190914 header.b="VtKCSJ/m"; dmarc=pass (policy=reject) header.from=dismail.de; 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" X-Migadu-Spam-Score: -4.75 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=dismail.de header.s=20190914 header.b="VtKCSJ/m"; dmarc=pass (policy=reject) header.from=dismail.de; 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" X-Migadu-Queue-Id: DF9E523EB1 X-Spam-Score: -4.75 X-Migadu-Scanner: scn0.migadu.com X-TUID: 8E+mCU25OfTD Peter Polidoro writes: > I am trying to setup an oauth2 email account to work with Emacs using mbsync > (from the isync guix package) and mu4e. > > I setup oauth2ms to fetch the token and setup mbsync to use oauth2ms for the > PassCmd and XOAUTH2 for the AuthMechs. > > Now when I run mbsync, I get the error: > > IMAP error: selected SASL mechanism(s) not available; > selected: XOAUTH2 > available: SCRAM-SHA-1 SCRAM-SHA-256 GS2-IAKERB GS2-KRB5 GSSAPI GSS-SPNEGO > DIGEST-MD5 EXTERNAL OTP CRAM-MD5 PLAIN ANONYMOUS > > I found instructions online saying I need to install the xoauth2 sasl plugin > from https://github.com/moriyoshi/cyrus-sasl-xoauth2 > > What is the proper Guix way of getting mbsync to work with XOAUTH2? Should I try > to package cyrus-sasl-xoauth2 or modify the isync package or something else? > Thanks! > Man this sounds complicated! haha. I use isync too...but I do the really really lazy (insecure) way via ~/.authinfo. Joshua