Hi, just joining the mailing list (perhaps belatedly).

I had asked Jan sometime ago about accessing e-mail through a proxy. (Sometimes I need this when The Great Firewall of China gets more strict and blocks imap.gmail.com and/or smtp.gmail.com.)

The trick of doing "export http_proxy=socks5://127.0.0.1:8080" works perfectly for IMAP connections. But it looks to me like SMTP connections bypass the proxy.*

Unfortunately for my use case, quite often I lose access to smtp.gmail.com before losing imap.gmail.com -- I can read my mail in Trojita, and when I send, it can save the message into the sent folder, but the SMTP connection times out. Then I have to go in on my phone or tablet and forward the saved message to the recipient.

I think users would expect all e-mail traffic to go through the proxy, not only IMAP.

Thanks,
James

* I used nethogs to monitor which applications are sending or receiving network traffic. When a connection is using the proxy, its traffic shows up under "ssh"; if it shows up under the application name, then it's a direct connection. When I send a message, I see outgoing traffic for ssh at first, when it's saving the message to the sent folder. Then, the SMTP transmission clearly appears for "trojita."

Reply via email to