Gnus development mailing list
 help / color / mirror / Atom feed
From: David Hedbor <david@hedbor.org>
Subject: Re: sending mail (!) thru ssh
Date: 30 Mar 1998 10:35:52 -0800	[thread overview]
Message-ID: <odogyoyqk7.fsf@frisco.inside.sealabs.com> (raw)
In-Reply-To: Stefan Waldherr's message of "30 Mar 1998 09:48:24 -0500"

Stefan Waldherr <swa@cs.cmu.edu> writes:

> >>>>> "Kai" == Kai Grossjohann <grossjohann@charly.cs.uni-dortmund.de> writes:
> 
>   Kai> You can set the variable sendmail-program to a program that
>   Kai> does what you want.
> 
> Neato. But what is this program supposed to do? It should ssh to the
> machine at the university and establish a connection between my home
> machine and the SMTP port of the mail server (that I can only reach
> on-campus). Am I right here? Is there a script/program out there that
> can do this?

If you don't mind some manual work, why not start something like this
from a shell:

	ssh -L25:campus.mail.server:25 campus.machine

And then simply set

	(setq smtpmail-smtp-server "localhost")
	(setq smtpmail-smtp-service "smtp")

If you want, you could use a non-standard port number too. This is how 
I do all my tunneling.


-- 
[ Below is a random fortune, which is unrelated to the above message. ]
Q:	What do you say to a Puerto Rican in a three-piece suit?
A:	Will the defendant please rise?



  reply	other threads:[~1998-03-30 18:35 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-03-30 14:13 Stefan Waldherr
1998-03-30 14:39 ` Kai Grossjohann
1998-03-30 14:48   ` Stefan Waldherr
1998-03-30 18:35     ` David Hedbor [this message]
1998-03-31 16:21       ` Stefan Waldherr
1998-03-31 18:19         ` Manoj Srivastava
1998-03-31 20:13           ` Lars Balker Rasmussen
1998-03-31 21:32             ` Manoj Srivastava

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=odogyoyqk7.fsf@frisco.inside.sealabs.com \
    --to=david@hedbor.org \
    /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).