Transparent SMTP/POP3 proxy for Microsoft 365 using Microsoft Graph API.
docker run -d \
-v $(pwd)/config:/config \
-v $(pwd)/queue:/app/queue \
-p 10025:10025 -p 10110:10110 -p 10465:10465 -p 10995:10995 \
--env-file .env \
sh0rch/m365proxy:latestconfig.jsonandtokens.encmust be placed in the./configdirectory.- Mail queue will be written to
./queue.
docker run --rm -it -v $(pwd)/config:/config sh0rch/m365proxy configure
docker run --rm -it -v $(pwd)/config:/config sh0rch/m365proxy login- Based on
python:3.11-slim - Supports STARTTLS, SMTPS, POP3S
/config→ contains config and token files/app/queue→ stores pending email queue
- Sending and receiving mail from embedded devices
- Secure scan-to-email over Microsoft 365
- Bridging legacy systems to modern cloud mail APIs