From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 kF1lIDVRYWOVkgAAbAwnHQ (envelope-from ) for ; Tue, 01 Nov 2022 18:02:45 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id aF9QHzVRYWOkPAAAG6o9tA (envelope-from ) for ; Tue, 01 Nov 2022 18:02:45 +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 8DEB41377F for ; Tue, 1 Nov 2022 18:02:44 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1optDV-0004nY-Rp; Tue, 01 Nov 2022 11:30:17 -0400 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 1optDU-0004my-Ch for help-guix@gnu.org; Tue, 01 Nov 2022 11:30:16 -0400 Received: from bumble.birch.relay.mailchannels.net ([23.83.209.25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1optDS-0000Q0-8I for help-guix@gnu.org; Tue, 01 Nov 2022 11:30:16 -0400 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 2A3063E24F5 for ; Tue, 1 Nov 2022 15:30:11 +0000 (UTC) Received: from pdx1-sub0-mail-a202.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 621E73E249F for ; Tue, 1 Nov 2022 15:30:10 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1667316610; a=rsa-sha256; cv=none; b=MRj089NBcRVTW386n2q1dhrT15AAR8umFz/lLXR0GdRkppgm5PqBZ87dCB3DlPFpfFxfq4 KkH9FyWNqLwyT5FFIRsnNFfgIDy3FddSYii+KCXBtcJi6AXOrMfWQ3bmkFhOoVaAYbMZ67 9ssJh1+SkDRRxuMuBMK2EB6yuQAh9RjVtJ/43ClNYRRnLTV0r8U+8XH022oye7MpdBTl38 nuFHsE5DcaEqC30XDZDR88Et7vLaQqriY/22BjMuqI3hgrz9SII2poivgtcKXoBjattVW3 uhVTmxEN+uNfMDkeK3gQm3vXmAwSpTQd0pPHpjDMivF7Mu/NCfatPjcmx8bwkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1667316610; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: dkim-signature; bh=hwam4okHsDdtjjizpDq+kLHBwC65l5Fjixy48kVYS5I=; b=6SQv/fzlmh3jrGhPTHa/HhPiTprLxE2oWYPXGlcrJkR3F93EoD/ryTE1Ki3Iaz9Dh48Kod GVtwKByinn6xOKQCYiSEm3DiUfYQLT9n+TMbH5Z5y//9YuHTpVCBtPe6QoZ2j33z3jSyqu nSWo3fdPxvQN7Uq+A5f0N5MllamA4ArSqa74M49Dx7j7Tbx/XkNZrwQO64hwrAvkCqxwTL fG6WPsE0M1ptuNS/77C3RA8BKs0AR13DKYjY93pe/VqXJ6KmHv9n1pU+E27nZr2sfCIPB7 LT1wvpQumZR6CNSXxM+qqM6dEhvZjrbXii2lmKzxZSQ3Es//iaoa6AubSJMidw== ARC-Authentication-Results: i=1; rspamd-7b8dfb6d4c-kw84q; 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-Arithmetic-Whispering: 34616cd27dc6d172_1667316610631_3652715681 X-MC-Loop-Signature: 1667316610631:3843363510 X-MC-Ingress-Time: 1667316610630 Received: from pdx1-sub0-mail-a202.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.97.77.234 (trex/6.7.1); Tue, 01 Nov 2022 15:30:10 +0000 Received: from minotaur (unknown [206.241.0.254]) (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-a202.dreamhost.com (Postfix) with ESMTPSA id 4N1v8x4mGpz7h for ; Tue, 1 Nov 2022 08:30:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=polidoro.io; s=dreamhost; t=1667316609; bh=hwam4okHsDdtjjizpDq+kLHBwC65l5Fjixy48kVYS5I=; h=From:To:Subject:Date:Content-Type; b=K1u0BVYmnqvk+JoJiwBmZ5d2+1Ag7crMTQjvJqDprZaXpbm0wEqlVmhoWDBlCMGvf 8bVLB2GjoHfrqi5i0+5BLACXwkQ9+UZmEf9JwGBodapROy5KuKgIHQ58IPRqxj/4JY 1fk25xJL4xu/kVbB/LqwRRCD2eYPB3+ctlbEm5El7/IJb3XELhwOqgErKvNtUVj2Yf zQC/OzhLimJHwYXKbyJVP5G/qmuxlZsb2zfYg/MXKnXmpY7y+sEX6W7wOegSgR9mrL JxRTeN2bAORFJzow9PvsQt2XjgoBScZXA0f/y2e3jfRF90ELcSK1hSKUB+0au+YkrM tpMFZ7SRb7xUw== User-agent: mu4e 1.8.11; emacs 28.2 From: Peter Polidoro To: help-guix@gnu.org Subject: mbsync with XOAUTH2 SASL mechanism Date: Tue, 01 Nov 2022 11:13:55 -0400 Message-ID: <87h6ziae15.fsf@polidoro.io> MIME-Version: 1.0 Content-Type: text/plain; format=flowed Received-SPF: pass client-ip=23.83.209.25; envelope-from=peter@polidoro.io; helo=bumble.birch.relay.mailchannels.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.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, RCVD_IN_DNSWL_NONE=-0.0001, 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: , Sender: "Help-Guix" Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1667322165; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=hwam4okHsDdtjjizpDq+kLHBwC65l5Fjixy48kVYS5I=; b=LC+x+8ypbeN4msntNeFgYdjlnHrV+kBJlLjf94yvnTuugtTCNjDRTU7ZdpeaAKEimIdoKn rMq7ycVW/Dm8NwVcwJ7Ro6AEwQYHI31dJoreSQX3mhG7yneqXhvovUCYciUVmaVZp0fPYF Hzfqy+fgQFukLZKA6sHEm8EafcPhgNZMlf+8OLrtWzGG9/fvPV7GojWMNWpGnkExE2ha1s RU8CvHgiexek+rcaDFNWpVdFUH3G4Rn4De64FUGZFZn41x0LDMlMLt73PPG7iaNSc+zYdG DUHDhIBoVT/edrATvPiksxPMZDK0ALzbZfphve5QB1YDCSR4xzaxbWTgAJsipw== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1667322165; a=rsa-sha256; cv=pass; b=gOo+ox1ywu4AHoS6QrpAdBCxVRe2U0JLPDeIKSdLkaPXHsiE1EAK0UggZ4TP834KpuqpY0 GM0C59oqekRVJnwFMh7a/swFFhJp/xnAL7v+kze6u8YQSzCTjOsXrdglP0IWD7BQXllWAn 8ZA+zorHKb32PWhA0hiJ4ciV1OwWsIZ/u9Yr2hMuXD+ULlEZwMaulprfBd+DT4CPXZfWUe JE+lPTYrUfNaN8Yql2hUdGW12XgA3fUr/b2+ouAR2J6jHfAiL24z//lmftCmV6Y51TbQ+Z TQPf97yjZhUjRqqhhLM8s8o1qajGBSu0CI6MI0xVj1YxTVWYCoVbkQBO82XE3A== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=polidoro.io header.s=dreamhost header.b=K1u0BVYm; arc=pass ("mailchannels.net:s=arc-2022:i=1"); dmarc=none; 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: -9.48 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=polidoro.io header.s=dreamhost header.b=K1u0BVYm; arc=pass ("mailchannels.net:s=arc-2022:i=1"); dmarc=none; 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: 8DEB41377F X-Spam-Score: -9.48 X-Migadu-Scanner: scn0.migadu.com X-TUID: 9tKa3a5S5o7c 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!