unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: help-gnu-emacs@gnu.org
Subject: Re: How to use Gnus nnimap through socks5 proxy
Date: Tue, 06 Jan 2015 16:12:41 +0800	[thread overview]
Message-ID: <878uhgxr7q.fsf@ericabrahamsen.net> (raw)
In-Reply-To: 86wq50s7qt.fsf@gmail.com

Quanyang Liu <lqymgt@gmail.com> writes:

> Hi all,
>
> I am from somewhere in which people can not access to google...So, I
> want to use a socks5 proxy.
>
> I found there is socks.el, and I can use it to connect IRC. But I can
> not find a way to use it in gnus.
>
> Does anyone here has idea about it?

[eric@pellet ~]$ grep imap.gmail.com /etc/hosts
173.194.65.108 imap.gmail.com

:)

Otherwise, I use isync to sync my mail to a local dovecot server, and
have Gnus connect to that dovecot server, rather than to Gmail directly.
In that case, I can use a directive like this in my ~/.mbsyncrc file:

Tunnel "ssh server.I.own tcpconnect imap.gmail.com 993"

To run the traffic around. Of course, you need to have a server outside
the country! But if you're not using a local dovecot, you could probably
use a similar shell command in the nnimap setup of your ~/.gnus.el file.

Eric




  reply	other threads:[~2015-01-06  8:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-06  7:12 How to use Gnus nnimap through socks5 proxy Quanyang Liu
2015-01-06  8:12 ` Eric Abrahamsen [this message]
2015-01-06  8:42   ` Eric Abrahamsen
2015-01-06 10:13   ` Quanyang Liu
2015-01-06 12:24     ` Eric Abrahamsen
2015-01-06 12:38       ` Quanyang Liu
2015-01-06  9:15 ` Chunyang Xu
2015-01-06  9:26 ` Chunyang Xu

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=878uhgxr7q.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=help-gnu-emacs@gnu.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 read-only IMAP folder(s) and NNTP newsgroup(s).