From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 17510 invoked from network); 27 May 2021 13:05:05 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 27 May 2021 13:05:05 -0000 Received: from lists1.math.uh.edu ([129.7.128.208]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1lmFh8-007a5M-Kf for ml@inbox.vuxu.org; Thu, 27 May 2021 08:05:02 -0500 Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.94) (envelope-from ) id 1lmFh7-00GgAl-IQ for ml@inbox.vuxu.org; Thu, 27 May 2021 08:05:01 -0500 Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1lmFh5-00GgAd-FQ for ding@lists.math.uh.edu; Thu, 27 May 2021 08:04:59 -0500 Received: from quimby.gnus.org ([95.216.78.240]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1lmFh0-007a56-MI for ding@lists.math.uh.edu; Thu, 27 May 2021 08:04:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:Mime-Version:Message-ID:Date:Subject:From:To: Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=VwjfdJWe3irEBZMtz948bMB2wFqjHma+wxUOd8dVIRM=; b=hSKea+Ot4LOak7riYA999oS6ha VlqE7+IMAiQp1Q92ynMYPXfHAierwhz52HmjsecwEFosRpRnDHIlYc7EpAN0mDuamKe4CtHy0B/Ak Z3D7VRgzLQ3N4k60roR0vQjN5siOmE5RSoB9EK61bMx5n3JFSqwSF2JrMQRwZHKYDxeo=; Received: from ciao.gmane.io ([116.202.254.214]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lmFgt-0004eg-5W for ding@gnus.org; Thu, 27 May 2021 15:04:50 +0200 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1lmFgq-000693-E5 for ding@gnus.org; Thu, 27 May 2021 15:04:44 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: ding@gnus.org From: Eric S Fraga Subject: davmail hangs *after* retrieving pop email from Exchange server Date: Thu, 27 May 2021 14:04:39 +0100 Organization: On the Interweb somewhere Message-ID: <87fsy8wcns.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cancel-Lock: sha1:dO74yv0B3gAuLX9ZnYbpUT60yTw= X-Url: http://www.ucl.ac.uk/~ucecesf/ List-ID: Precedence: bulk Hello, TL;DR: how do I figure out what gnus is doing when it hangs after downloading emails via davmail from an Exchange server? Longer story: due to the introduction of multi-factor authentication (MFA) in our institution, I have spent the past 2 days trying to find a solution that allows me to continue using gnus. For the record, one interesting albeit less than satisfying solution is to run Thunderbird with pop access to the exchange server. Thunderbird supports OAuth2 access. Then you can point gnus to the mbox format file Thunderbird creates to store the downloaded emails. This does mean having to have Thunderbird running... Davmail is the most often suggested solution. It took some time to get this working but it's sort of there. I can download emails using pop access. However, for some reason, after retrieving the emails, gnus hangs until I hit C-g and then the group buffer is updated. So, my question is: how do I find out what is happening after the emails have downloaded? The davmail log doesn't show anything and neither does *Messages*. Are there gnus variables I can set to help me figure this out? It does seem that davmail has does everything it should and so has gnus up to a point. Thank you, eric -- Eric S Fraga via Emacs 28.0.50 & org 9.4.6 on Debian bullseye/sid