Tunnel SMTP over ssh

Dan Barkwell dbarkwell-05pvsIyEU8vQT0dZR+AlfA at public.gmane.org
Sat Jul 24 17:14:06 UTC 2004


ssh (ssh2) -L localport:localhost:connectport username at servername

You should be able to use the above command to connect. It routes any
local traffic on the localport to the server on the connecting port.

For more info see man ssh.

DB

On Sat, 2004-07-24 at 05:32, Noah John Gellner wrote:
> I am travelling with my laptop and would like to be able to send mail
> from evolution and kmail. At home I have a server running postfix
> which sends mail by relaying it to my local ISP. I would like to set my
> laptop up relay mail to my home server which would then send it via my
> local ISP. I would like to do this relaying using an ssh tunnel. I
> currently use shared keys to make my ssh connections so interactive
> authentication is not required.
> 
> My question is what do I need to set up on my laptop to send the mail
> and what changes to I need to make to my server's postfix configuration
> to make this relaying possible?
> 
> Cheers,
> 
> Noah

--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list