Documentation
¶
Overview ¶
Command msprobe finds out how a Microsoft account (Outlook.com, Hotmail) behaves for Frostmail before maild speaks to it (ADR-0039; plan 0010, Phase 1): which scopes sign in to IMAP, SMTP and Graph from one consent, what Outlook's IMAP offers, and what Graph serves for calendars and contacts.
signin runs the authorization-code flow with PKCE on a loopback port and keeps the refresh token in a 0600 state file outside the repository. The other commands redeem it for the audience they need, storing each rotated token before using the new one. imap and graph only read; smtp signs in without sending.
go run ./tools/msprobe -state /tmp/ms.json signin go run ./tools/msprobe -state /tmp/ms.json -trace /tmp/imap.trace imap go run ./tools/msprobe -state /tmp/ms.json smtp go run ./tools/msprobe -state /tmp/ms.json -out /tmp/graph graph