From: David T. <dav...@wi...> - 2021-04-12 15:20:08
|
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 |