From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/4419 Path: news.gmane.org!not-for-mail From: Maciek Pasternacki Newsgroups: gmane.emacs.gnus.user Subject: Re: proxy for Gnus ? Date: Sat, 05 Feb 2005 16:11:47 +0100 Organization: CI TASK http://www.task.gda.pl Message-ID: <874qgrvy6k.fsf@lizard.king> References: <87is5735a7.fsf@williamxuuu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1138670341 23156 80.91.229.2 (31 Jan 2006 01:19:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:19:01 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:33:44 2006 Original-Path: quimby.gnus.org!newsfeed1.e.nsc.no!uio.no!news-FFM2.ecrc.net!newsfeed00.sul.t-online.de!t-online.de!news.task.gda.pl!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-NNTP-Posting-Host: leeloo.ds.pg.gda.pl Original-X-Trace: korweta.task.gda.pl 1107616307 1806 153.19.223.131 (5 Feb 2005 15:11:47 GMT) Original-X-Complaints-To: abuse@news.task.gda.pl Original-NNTP-Posting-Date: Sat, 5 Feb 2005 15:11:47 +0000 (UTC) X-Original-Organization: Towarzystwo X-Jabber-Id: maciekp@japhy.fnord.org X-Face: "z$0S%vIy|*@uf~&cUy(t.|Ww`"[=wFe(FAC->(lhsd_}0Y\^STZ&LL%W~ikh(=7DBY*>LV )*~d,+@xH3!+USJ8tt"etVnco#l:Yg.'1QEoqEb'aft~ On Sweetmorn, Chaos 36, 3171 YOLD, William Xuuu wrote: > Is it possible to set a proxy for Gnus, so that to be able to connect some > foreign newsgroup servers? Gnus can use SOCKSv5 with socks.el from w3. From my .gnus.el: (require 'socks) (setq socks-server '("default" "socks.hostname" socks-port 5) socks-username "Login" socks-password "Password") (defun nntp-open-socks-stream (buffer) (socks-open-network-stream "nntpd" buffer nntp-address nntp-port-number)) (setq gnus-select-method '(nntp "news.task.gda.pl" (nntp-open-connection-function nntp-open-socks-stream)) gnus-secondary-select-methods '((nnml "Mailbox" (nnml-directory "~/Mail/") (nnml-active-file "~/Mail/active") (nnml-newsgroups-file "~/Mail/newsgroups") (nnml-use-compressed-files t)) (nntp "internal.news.server.somewhere.in.pl" (nntp-open-connection-function nntp-open-socks-stream) (nntp-connection-timeout 5)) (nntp "news.szpieg.gda.pl" (nntp-open-connection-function nntp-open-socks-stream) (nntp-connection-timeout 15)) (nntp "news.gmane.org" (nntp-open-connection-function nntp-open-socks-stream) (nntp-connection-timeout 10)))) Works well with usocksd running from user account on proxying server. -- __ Maciek Pasternacki [ http://japhy.fnord.org/ ] `| _ |_\ / { ...wszystkie dokumenty uległy rozkładowi. ,|{-}|}| }\/ Wszystko, co kochałem, uległo rozkładowi. \/ |____/ Jestem zdrów i cały. } ( M. Świetlicki ) -><-