From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/33776 Path: main.gmane.org!not-for-mail From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: smtp - can it be ssh tunneled? Date: 19 Dec 2000 22:49:55 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035169821 26897 80.91.224.250 (21 Oct 2002 03:10:21 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:10:21 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: from lisa.math.uh.edu (lisa.math.uh.edu [129.7.128.49]) by mailhost.sclp.com (Postfix) with ESMTP id 8EF4BD049D for ; Tue, 19 Dec 2000 16:50:30 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by lisa.math.uh.edu (8.9.1/8.9.1) with ESMTP id PAB07408; Tue, 19 Dec 2000 15:50:29 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 19 Dec 2000 15:49:53 -0600 (CST) 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 PAA27183 for ; Tue, 19 Dec 2000 15:49:43 -0600 (CST) Original-Received: from waldorf.cs.uni-dortmund.de (waldorf.cs.uni-dortmund.de [129.217.4.42]) by mailhost.sclp.com (Postfix) with ESMTP id 27030D049D for ; Tue, 19 Dec 2000 16:50:08 -0500 (EST) Original-Received: from marcy.cs.uni-dortmund.de (marcy.cs.uni-dortmund.de [129.217.20.159]) by waldorf.cs.uni-dortmund.de with ESMTP id WAA04380; Tue, 19 Dec 2000 22:49:56 +0100 (MET) Original-Received: from lucy.cs.uni-dortmund.de (lucy [129.217.20.160]) by marcy.cs.uni-dortmund.de id WAA17571; Tue, 19 Dec 2000 22:49:55 +0100 (MET) Original-Received: (from grossjoh@localhost) by lucy.cs.uni-dortmund.de (8.9.3/8.9.3/Debian 8.9.3-21) id WAA12717; Tue, 19 Dec 2000 22:49:55 +0100 Original-To: Harry Putnam X-Face: /B3twq_DELA4]7alR?%xv(/f1N;bi:NN=UlA=(1a"pKte&5/Y/9*z&8q[P}+}YgJX_9*}k_ 0E|EJBC~yEok<#VOw:9GQWq1-;PCR-hd;3|Vk]~"|EM{Q5ir5nr!HzZ,W4\k5G|QWHw45gQ*tWydTR , Original-Lines: 19 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.0.94 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:33776 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:33776 I think you could try this: ssh -f -L 25:smtp.newsguy.com:25 ssh.access.newsguy.com sleep 3600 Then doing "telnet localhost 25" (on your home machine) would connect you to smtp.newsguy.com, but smtp.newsguy.com would think you're coming from ssh.access.newsguy.com. You might have to do that ssh command as root. Hm. Maybe it's safer to replace the first 25 with 10025 or something, and then tell smtpmail.el that you want to connect to host localhost, port 10025. Then you wouldn't have to do the ssh command as root. (Once you have connected, the tunnel stays open as long as the connection stays open. You have 3600 seconds to connect.) kai -- A large number of young women don't trust men with beards. (BFBS Radio)