userjack6880 / Open-Report-Parser

A Perl based tool to parse DMARC reports from an IMAP mailbox or from the filesystem, and insert the information into a database. Derived from Techsneeze's dmarcts-report-parser
GNU General Public License v3.0
32 stars 7 forks source link

[Question]: IMAP support for Google Workspace/Gmail #24

Open robbrandt opened 4 months ago

robbrandt commented 4 months ago

Posit your question! I am trying to get this to work with an account for our Google Workspace account. I am not very experienced with OAuth2. I have a Client ID from another app, but I am not sure what URI to use. I have made an educated guess that it is

https://accounts.google.com/o/oauth2/v2/auth

When I try to connect, I get this error:

no token found, requesting
Wide character in subroutine entry at lib/OAuth.pm line 172.

Any suggestions?

userjack6880 commented 4 months ago

OAuth2 support isn't fully realized yet. Development is currently focusing on M365, but compatibility with Google Workspace should come with that once we've worked that out.

robbrandt commented 4 months ago

Thanks. Is there a practical way of saving hundreds of email attachments to a directory so I can use that option? I am not aware of any.

userjack6880 commented 4 months ago

I don't know of any automated tool, unfortunately. It would make life so much easier. :)