From: Bill White <billw@wolfram.com>
Subject: Re: pop access thru a firewall?
Date: 06 Oct 2000 10:47:01 -0500 [thread overview]
Message-ID: <ruoem1uas5m.fsf@g.wolfram.com> (raw)
In-Reply-To: <200010061420.e96EKaf15741@zsh.2y.net>
On Fri Oct 06 2000 at 09:20, ShengHuo ZHU <zsh@cs.rochester.edu> 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
next prev parent reply other threads:[~2000-10-06 15:47 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-09-28 14:11 webmail not fetching my-deja mail Bill White
2000-09-28 16:40 ` Bill White
2000-09-28 18:43 ` ShengHuo ZHU
2000-10-06 12:42 ` most stable webmail site? Bill White
2000-10-06 13:04 ` ShengHuo ZHU
2000-10-06 13:40 ` pop access thru a firewall? Bill White
2000-10-06 14:20 ` ShengHuo ZHU
2000-10-06 15:47 ` Bill White [this message]
2000-10-06 16:09 ` ShengHuo ZHU
2000-10-06 16:25 ` Bill White
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=ruoem1uas5m.fsf@g.wolfram.com \
--to=billw@wolfram.com \
/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).