From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Quanyang Liu Newsgroups: gmane.emacs.help Subject: Re: How to use Gnus nnimap through socks5 proxy Date: Tue, 06 Jan 2015 18:13:33 +0800 Message-ID: <867fx0gqsy.fsf@gmail.com> References: <86wq50s7qt.fsf@gmail.com> <878uhgxr7q.fsf@ericabrahamsen.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1420539647 366 80.91.229.3 (6 Jan 2015 10:20:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 6 Jan 2015 10:20:47 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 06 11:20:39 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Y8RD3-0003Gs-L2 for geh-help-gnu-emacs@m.gmane.org; Tue, 06 Jan 2015 11:17:57 +0100 Original-Received: from localhost ([::1]:35722 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y8RD2-0003tf-Pt for geh-help-gnu-emacs@m.gmane.org; Tue, 06 Jan 2015 05:17:56 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43671) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y8RCs-0003tZ-OV for help-gnu-emacs@gnu.org; Tue, 06 Jan 2015 05:17:47 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y8RCo-0007GS-Ms for help-gnu-emacs@gnu.org; Tue, 06 Jan 2015 05:17:46 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:47014) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y8RCo-0007G8-Fb for help-gnu-emacs@gnu.org; Tue, 06 Jan 2015 05:17:42 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Y8RBj-0001nA-RC for help-gnu-emacs@gnu.org; Tue, 06 Jan 2015 11:16:36 +0100 Original-Received: from 59.78.46.75 ([59.78.46.75]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 06 Jan 2015 11:16:35 +0100 Original-Received: from lqymgt by 59.78.46.75 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 06 Jan 2015 11:16:35 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 35 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 59.78.46.75 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) Cancel-Lock: sha1:9uwu5TBbXythyTNbPYOTwQ9INls= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:101904 Archived-At: On Tue, Jan 06 2015 at 16:12:41 +0800, Eric Abrahamsen wrote: > Quanyang Liu 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 > > :) > ahh, this work fine :) But I don't know how long can it works... > 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. > Yep, this is another option... I would try it if no other way works...