From: Matthias A. <mat...@gm...> - 2021-04-25 09:10:13
|
Am 12.04.21 um 16:19 schrieb David Thompson via Fetchmail-users: > I'm trying to get the latest fetchmail alpha to pop mail from Microsoft. I'm using the python O365 module to get an access token, and then using fetchmail's passwordfile option to pop the messages. I can access the email account fine using the O365 python module, but if I extract the access token from the FileSystemTokenBackend file for use with fetchmail, I get an authentication error. I've also verified that the extracted access token is good using Microsoft's tool (https://jwt.ms/). Here are my specifics (per the FAQ G3): > > Os: CentOS 7 (CentOS Linux release 7.9.2009 (Core)) > Compiler: gcc-4.8.5-44.el7.x86_64 > Command: fetchmail -v -f fetchmailrc > > My fetchmailrc is: > poll outlook.office365.com proto pop3 auth oauthbearer > user 'fet...@wi...' passwordfile '/opt/rt-oauth/fet...@wi...cess' sslmode wrapped > > fetchmail -V ... and fetchmail -vvv... outputs are attached. > > Any thoughts or suggestions are greatly appreciated. David, how long is the "password" token? ls -l /opt/rt-oauth/fet...@wi...cess I have recently released fetchmail 7.0.0-alpha8 with an increased maximum password length of 10,000 bytes net, but the announcement hasn't made it through to the list yet, for reasons unknown (no bounce received yet), hence I am Cc:ing you (out of the ordinary). |