mirror of
https://github.com/decke/smtprelay.git
synced 2026-04-25 04:45:52 +03:00
[GH-ISSUE #92] proxy support #22
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/smtprelay#22
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @steom on GitHub (Oct 17, 2022).
Original GitHub issue: https://github.com/decke/smtprelay/issues/92
Please consider to add http proxy / socks5 proxy support to connect to smtp server
@decke commented on GitHub (Nov 23, 2022):
Could you please describe your use case? I don't get what you want to do.
@steom commented on GitHub (Nov 23, 2022):
Sending request to external smtp when the internet connection is via SOCKS or HTTPS proxies
@QuantumDisposition commented on GitHub (Dec 23, 2022):
I second the Socks5 case. It is needed. Rarely any MTA can properly use a proxy. By simple googling seems like only Exim can. And Exim is a combine, hardly lightweight with easy config.
Without such features like socks5 support, what is your relay really useful for? A 10-lines long config OpenSmtpd can do simple relays. Can't do Socks5 though. Your relay maybe can.
Use case? Any proxing or torifying for any dissident operated smtp in countries like Russia or Iran.
@decke commented on GitHub (Dec 24, 2022):
Feel free to use any alternative smtpd that works best for you. smtprelay was planned with a very specific usecase and simplicity in mind. For sure it will never be a replacement for a full blown smtpd.
Socks5 support would need to patch smtp.go to setup the socks connection but that is already a forked and extended copy of net/smtp because they refuse new features to that package. So probably it's easier to look around for a suitable smtp library that already supports socks.