This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Use KMail with a proxy

Tags: None
(comma "," separated)
User avatar
martinpola
Registered Member
Posts
40
Karma
0
OS

Use KMail with a proxy

Thu Oct 27, 2011 10:41 am
I'm behind a restrictive firewall and therefore I'd like to use KMail through a HTTP (or SOCKS) proxy, both for SMTP and IMAP. How'd I configure that?
User avatar
google01103
Manager
Posts
6668
Karma
25

Re: Use KMail with a proxy  Topic is solved

Thu Oct 27, 2011 12:42 pm
Socks:
http://emilsedgh.info/blog/index.php?/a ... n-KDE.html
SOCKS proxy on KDE
Emil Sedgh's personal blogThursday, September 8. 2011
SOCKS proxy on KDE

kdelibs < 4.7:
its not supported. to make it work, you have to install an http server (like polipo) and point kde to it.

kdelibs == 4.7:
Good news is, socks proxy 'is' supported. Bad news is, there's no UI to configure it.

To configure it, add the following line to ~/.kde/share/config/kioslaverc file:

socksProxy=socks://HOST:PORT

Then, go to System Settings->Network Settings->Proxy and make sure the 'Manually specify the proxy settings' option is marked. (But dont click the 'Setup' button)


http://userbase.kde.org/Kontact#Enablin ... _and_KNode

Enabling SOCKS support in KMail and KNode

Unlike KDE 3, KDE 4 does not have built-in SOCKS support yet. However, it is still possible and relatively simple to make KMail and KNode use a SOCKS proxy, by using proxychains or other similar tools like tsocks or socksify. Assuming that proxychains is correctly installed and configured, all you need to do is to open a terminal (e.g. Konsole) and type:
proxychains kdeinit4

You don't even need to restart KMail/KNode! (You need to type the above command every time you start a new KDE session though).


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
martinpola
Registered Member
Posts
40
Karma
0
OS

Re: Use KMail with a proxy

Fri Oct 28, 2011 2:02 pm
Thank you!


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]