Gnus development mailing list
 help / color / mirror / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: ding@gnus.org
Subject: Re: How to use socks5 proxy in nnimap
Date: Mon, 13 Dec 2010 22:06:51 +0100	[thread overview]
Message-ID: <m3vd2x7578.fsf@quimbies.gnus.org> (raw)
In-Reply-To: <8739q2jvmc.fsf@gmail.com>

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




      reply	other threads:[~2010-12-13 21:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-13  1:43 DigitalPig
2010-12-13 21:06 ` Lars Magne Ingebrigtsen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3vd2x7578.fsf@quimbies.gnus.org \
    --to=larsi@gnus.org \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).