GNOME Bugzilla – Bug 601898
SOCKS proxy does not work with mailer
Last modified: 2012-05-17 18:21:53 UTC
I think a couple of proxy bugs were fixed lately in the 2.26 and 2.28 releases, but I still don't see my socks proxy being used for mails (my main usage of evolution), so here I go. Some info to reproduce/test: 1. have a machine that will be used as the remote SSH host 2. SSH into it, by running this in a terminal (keep the terminal open): ssh -v -N -D 8000 the-remote-host 3. go in gnome's proxy settings (gnome-network-properties) 4. set the mode to "manual proxy configuration" 5. set the "socks host" to localhost, port 8000 (leave the other proxy types blank) 6. make the terminal (the one with the ssh tunnel running in it) show "always on top" so you can see its activity at all times 7. use evolution and check your mail, notice that nothing happens in the terminal. It seems to bypass/ignore the proxy. 8. use pidgin, chromium-browser, firefox: notice that activity shows up in the terminal where SSH is running (new "channels" are opened, etc.), indicating that it indeed uses the socks proxy
Ah, and I had filed this bug as separate from bug #578429 because it's not about SMTP... I mean, when evo starts, it checks my POP3 and IMAP mail accounts for new incoming mail, and those should have triggered the proxy.
I can confirmed that evolution 2.28.x doesn't use proxy settings, but I use different steps to reproduce it : 1. Your system must not work under a proxy : it must work with direct connection 2. Set an imaginary proxy. Evolution shouldn't be able to collect & send mails. But it is ! incredible ! Evolution doesn't use proxy settings. It's very annoying but for people working under proxy. Evolution 2.28 is not usable at most large buisness units or universities. I have to downgrade to 2.26.x to make it work, very very annoying
Fedrico has committed many changes related to SOCKS support in Evolution 2.32.0. You may want to try out current stable version 2.32.0
Downstream bug report about the same from 2.31.90 (which I believe is same as 2.32.0 with respect of proxy changes): https://bugzilla.redhat.com/show_bug.cgi?id=628664
The bug I filed at redhat is the opposite of the OP of this bug. It looks like evolution has now added support for using the proxy settings, but the problem is that either the exclusion rules (for excluding for instance your local domain from IMAP proxy) don't work, and/or it is extremely difficult to debug when you're just timing out using IMAP due to using proxy settings. Its neat that we have proxy support but it should just be specified in the server config dialogs. (like a "use system proxy to connect to this imap server")
Created attachment 197868 [details] [review] eds patch for evolution-data-server; a) adds SOCKS proxy support into EProxy b) makes camel_session_get_socks_proxy a virtual method of CameSession, with a new parameter 'for_host', thus the proxy is determined on demand for each connection, being able to avoid proxy usage for certain hosts (with the ignore-list from preferences).
Created attachment 197870 [details] [review] evo patch for evolution; a) Adds UI elements into Edit->Preferences->Network Preferences for SOCKS proxy b) defines the CamelSession::get_socks_proxy with help of EProxy
Created commit 4726edc in eds master (3.3.1+) Created commit 2def4a7 in evo master (3.3.1+)
*** Bug 663713 has been marked as a duplicate of this bug. ***
*** Bug 670949 has been marked as a duplicate of this bug. ***