Skip to content
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

Support proxies #17

Open
soywod opened this issue Sep 10, 2024 · 0 comments
Open

Support proxies #17

soywod opened this issue Sep 10, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@soywod
Copy link
Member

soywod commented Sep 10, 2024

Here how I see the thing: every time we build a TPC connection (IMAP and SMTP), we need to apply the right proxy according to given proxy URL. It can be HTTP(S), SOCKS4 or SOCKS5. The proxy URL is taken from http_proxy and https_proxy env vars by default, and we can add a global config entry proxy-url or proxy that overrides this behaviour. Here an example on how to set up the socks proxies, and here an example on how to use the HTTP ones.

@soywod soywod added the enhancement New feature or request label Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

1 participant