* How to use socks5 proxy in nnimap
@ 2010-12-13 1:43 DigitalPig
2010-12-13 21:06 ` Lars Magne Ingebrigtsen
0 siblings, 1 reply; 2+ messages in thread
From: DigitalPig @ 2010-12-13 1:43 UTC (permalink / raw)
To: ding
Hi~
I was wondering if I can use the socks 5 proxy in nnimap method
accessing gmail? I've tried to insert the following codes into my .gnus
files but it didn't work.
>(setq socks-override-functions 1)
> (setq socks-noproxy '("localhost" "news.gmane.org"))
> (require 'socks)
> (defalias 'open-network-stream 'socks-open-network-stream)
I check the gmail webpage and it still showed the accessing IP is my
real IP not the socks server.
Thank you very much!
--
DigitalPig
_ALL WE SEEN IS ILLUSION._
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How to use socks5 proxy in nnimap
2010-12-13 1:43 How to use socks5 proxy in nnimap DigitalPig
@ 2010-12-13 21:06 ` Lars Magne Ingebrigtsen
0 siblings, 0 replies; 2+ messages in thread
From: Lars Magne Ingebrigtsen @ 2010-12-13 21:06 UTC (permalink / raw)
To: ding
DigitalPig <lzq.fudan@gmail.com> writes:
> I was wondering if I can use the socks 5 proxy in nnimap method
> accessing gmail? I've tried to insert the following codes into my .gnus
> files but it didn't work.
>
>>(setq socks-override-functions 1)
>> (setq socks-noproxy '("localhost" "news.gmane.org"))
>> (require 'socks)
>> (defalias 'open-network-stream 'socks-open-network-stream)
>
> I check the gmail webpage and it still showed the accessing IP is my
> real IP not the socks server.
I'm not quite sure what Gnus version you're using, but in any case, I
think it's likely that your nnimap doesn't use `open-network-stream'
towards Gmail, but uses `open-tls-stream' or something like that...
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-12-13 21:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-13 1:43 How to use socks5 proxy in nnimap DigitalPig
2010-12-13 21:06 ` Lars Magne Ingebrigtsen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).