From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/32813 Path: main.gmane.org!not-for-mail From: Bill White Newsgroups: gmane.emacs.gnus.general Subject: Re: pop access thru a firewall? Date: 06 Oct 2000 10:47:01 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: References: <200010061304.e96D4ML15425@zsh.2y.net> <200010061420.e96EKaf15741@zsh.2y.net> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035169032 21873 80.91.224.250 (21 Oct 2002 02:57:12 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:57:12 +0000 (UTC) Return-Path: Original-Received: from fisher.math.uh.edu (fisher.math.uh.edu [129.7.128.35]) by mailhost.sclp.com (Postfix) with ESMTP id 9C76DD051E for ; Fri, 6 Oct 2000 11:51:00 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by fisher.math.uh.edu (8.9.1/8.9.1) with ESMTP id KAC04724; Fri, 6 Oct 2000 10:47:24 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 06 Oct 2000 10:46:45 -0500 (CDT) Original-Received: from mailhost.sclp.com (postfix@66-209.196.61.interliant.com [209.196.61.66] (may be forged)) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id KAA06676 for ; Fri, 6 Oct 2000 10:46:35 -0500 (CDT) Original-Received: from dragonfly.wolfram.com (dragonfly.wolfram.com [140.177.10.12]) by mailhost.sclp.com (Postfix) with ESMTP id 99327D051E for ; Fri, 6 Oct 2000 11:46:52 -0400 (EDT) Original-Received: from g.wolfram.com (root@g.wolfram.com [140.177.4.48]) by dragonfly.wolfram.com (8.8.8/8.8.8) with ESMTP id KAA10451 for ; Fri, 6 Oct 2000 10:46:50 -0500 (CDT) Original-Received: (from billw@localhost) by g.wolfram.com (8.9.3/8.9.2) id KAA02324; Fri, 6 Oct 2000 10:47:01 -0500 X-Authentication-Warning: g.wolfram.com: billw set sender to billw@wolfram.com using -f Original-To: ding@gnus.org In-Reply-To: <200010061420.e96EKaf15741@zsh.2y.net> Original-Lines: 64 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:32813 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:32813 On Fri Oct 06 2000 at 09:20, ShengHuo ZHU said: > I have a primitive package to workaround the firewall by advising > open-network-steam. I haven't tested many features, but to access > POP3/NNTP via HTTP tunnel works. It is at > http://www.cs.rochester.edu/u/zsh/hacks/firewall.el dl'd and installed... Here's my firewall and mail-sources setup: ,----[ ~/.gnus ] | (add-to-list 'load-path "/billw/emacs/emacs-lisp/shenghuo-zhu") | (require 'firewall) | | ; First, you need setup | (setq firewall-gateway-host "proxy.wolfram.com") | (setq firewall-gateway-port 8080) | (ad-activate 'open-network-stream) | ;;; 4. http | (setq firewall-gateway-function-list | '(firewall-gateway-send-connect | firewall-gateway-wait-http)) | | [...] | | (setq mail-sources | '((file :path "/var/spool/mail/billw") | (pop :server "pop.mail.yahoo.com" | :user "myusername" | :password "mypassword" | :dontexpunge nil))) | [...] `---- It looks like a connection is successfully established, but I get a "Timeout!", probably from from firewall-gateway-wait-http. Here's the POP trace buffer: ,----[ buffer " trace of POP session to pop.mail.yahoo.com" ] | HTTP/1.0 200 Connection established | | +OK hello from popgate `---- The reply from yahoo seems to be different from what's expected in firewall-gateway-wait-http: ,----[ firewall.el ] | (defun firewall-gateway-wait-http (proc host service) | (firewall-wait-for-string "HTTP.* 200 OK\r*\n\r*\n" proc) | (delete-region (point-min) (point)) | nil) `---- Am I on the right path? Any thoughts? Thanks for all your help! bw -- Bill White . billw@wolfram.com . http://members.wri.com/billw