-
-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues with Mac OS #14
Comments
The proxy definitely does work on macOS Monterey, so I'm not sure what is going on here. Do you have a firewall or other network monitoring/blocking tool running that could be interfering with the connection? Have you definitely set up your client to use an unsecured connection? What output do you get if you try debugging via telnet (see the Troubleshooting section of the readme) |
Tried connecting with telnet, both imap and smtp, same error python3 emailproxy.py telnet localhost 1993
telnet localhost 1465 |
Given that this is happening before the connection is set up, it is very hard to debug remotely without being able to replicate it (which I can't). The proxy certainly does work on all of those macOS versions. You mentioned that the proxy worked for you elsewhere - what happens if you copy the proxy's configuration file from those systems to one of the macOS ones that is presenting this issue? Another thing that would help debug would be to get the full error details rather than the proxy's message. You can do this by making a minor edit to the script, inserting |
Thanks for the suggestions. python3 emailproxy.py FROM THIS OUTPUT I WAS ABLE TO ZERO IN ON A FIX >>>> "Install Certificates.command" /Applications/Python\ 3.9/Install\ Certificates.command ; exit; Saving session... [Process completed] THE PROXY NOW WORKS! |
Excellent! Thanks for resolving this and reporting back. Just to summarise for others encountering this problem on macOS: the issue here was that the Python installation (e.g., from python.org, homebrew, etc) did not have properly configured root certificates. This can be resolved by running |
Works fine on Fedora 35 and Debian 11 but no luck with MacOS Monterey. Always gives this error:
"IMAP server at localhost:1993 (unsecured) proxying imap.gmail.com:993 (SSL/TLS) encountered an SSL error - is the server's starttls setting correct? Current value: False"
I've tried everyting I can think of on client and server. Any suggentions?
Config:
[Server setup]
[IMAP-1993]
local_address = localhost
server_address = imap.gmail.com
server_port = 993
[SMTP-1465]
server_address = smtp.gmail.com
server_port = 465
[Account setup]
[[email protected]]
permission_url = https://accounts.google.com/o/oauth2/auth
token_url = https://oauth2.googleapis.com/token
oauth2_scope = https://mail.google.com/
redirect_uri = http://localhost
client_id = --------------------------------apps.googleusercontent.com
client_secret = -----------------------------------
The text was updated successfully, but these errors were encountered: