simonrob / email-oauth2-proxy

An IMAP/POP/SMTP proxy that transparently adds OAuth 2.0 authentication for email clients that don't support this method.
Apache License 2.0
843 stars 94 forks source link

Can this be used as public SMTP proxy? #180

Closed fan-wen closed 1 year ago

fan-wen commented 1 year ago

This is great as a local proxy.

However, if I want to use this as a public SMTP proxy (to add Office365 account to my Gmail as a "send-as" account), I cannot connect to the proxy through xx.xx.xx.xx:587 (xx.xx.xx.xx is the IP of the machine where I set up this proxy).

Any help would be highly highly appreciated!

simonrob commented 1 year ago

Yes - there are several other issues discussing this setup (#9, for example). You'll need to run your own publicly accessible server to do this, however, as Gmail cannot connect to your local host unless it is publicly reachable.