Sign inSign up

oldium/microsoft-smtp-oauth2-proxy

By oldium

β€’Updated 5 months ago

A proxy server to connect to Microsoft OAuth2-authenticated SMTP servers using basic authentication

Image
Networking
1

2.9K

oldium/microsoft-smtp-oauth2-proxy repository overview

⁠Microsoft SMTP OAuth2 Proxy for Next.js

This is a Next.js⁠ project providing a proxy server to allow connecting to Microsoft OAuth2-authenticated SMTP servers using basic authentication.

The home page of the project is here⁠.

Features:

  • πŸ›‘οΈ OAuth 2.0 authentication with Microsoft via web UI.
  • πŸ§‘β€πŸ’Ό User login access rules.
  • πŸ•ΈοΈ Single Node.js listening web server exposing just one port for web UI and API.
  • πŸ‹ Docker-ready.
  • βœ‰οΈ Sending emails using the SMTP protocol.
  • πŸ“¬ Optional unprotected port for local trusted clients.
  • πŸ’‘ Mixed-mode operation with independent SSL/TLS and STARTTLS connections for client and downstream server.
  • πŸŽ‰ Allows to use single port for SSL/TLS (a.k.a. implicit TLS) and STARTTLS connections (see SMTP_AUTOTLS_PORT variable in [.env.example][env-example]).
  • πŸ” Automatic retry on transient network errors when refreshing OAuth2 authentication tokens from Microsoft.
  • πŸ›‘οΈ Safer proxy handling by ignoring untrusted X-Forwarded-* headers.
  • 🧹 Graceful shutdown that terminates idle connections.

Tag summary

Content type

Image

Digest

sha256:f2ace12a2…

Size

126.1 MB

Last updated

5 months ago

docker pull oldium/microsoft-smtp-oauth2-proxy