help wanted
Repository metrics
- Stars
- (1,660 stars)
- PR merge metrics
- (PR metrics pending)
Description
🚀 Feature
Is it possible to make cypht connect to IMAP and SMTP servers through proxies such as SOCKS5? There are occasions when the client cannot directly access the mail server. So proxies such as SOCKS5 can be used to proxy TCP payload, like IMAP.
Design, Layout, Architecture
Since I am not familiar with php, a golang implementation reference can be found at https://stackoverflow.com/a/71182894.
The procedure can be roughly described as:
- Open a TCP connection to the SOCKS5 server
- send and receive SOCKS5 data
- send and receive TLS data
- sned and receive application layer data, such as IMAP and SMTP