Around Mon,Sep 29 2003, at 11:43,  Bob Miller, wrote:
> Ben Barrett wrote:
> 
> > PS - I had to do some minor sleuthing to figure out the SMTP server for
> > this free wifi location; they are running InterMail vM.5.01.05.32 and I
> > used both the message source of a mail I was able to send to myself from
> > my home ISP's SMTP, and'dig MX<domain>' (then'telnet<mailhost> 25') to
> > figure that out... glory be to FOSS!  BTW, does anyone have any
> > suggestions to more-easily figure out local SMTP's for random internet
> > access locations?  traceroute didn't work...
> > (they also seem to block some pings, incidentally -- I couldn't ping
> > home, even though I could access home by web -- but I can ping google)
> 
> If you have a home base, use ssh to tunnel SMTP through your home base
> to your normal SMTP server.
> 
> E.g., if your home box is home.base.example.org, and your usual
> mail server is mail.example.net, use this command (as root).
> 
>     # ssh -f -L 25:mail.example.net:25 home.base.example.org
> 
> Then you never need to find the local smtp server or worry about how
> it might restrict/mangle/destroy your mail.
> 
While you're at it.   do:
# ssh -f -L 25:mail.example.net:25 -L 110:pop.example.net:110 home.base.example.org

And tunnel your POP mail also.
Of course you would set the incoming mail to 127.0.0.1:110  and your
outgoing mail server to 127.0.0.1:25

-- 
[EMAIL PROTECTED]
_______________________________________________
EuG-LUG mailing list
[EMAIL PROTECTED]
http://mailman.efn.org/cgi-bin/listinfo/eug-lug

Reply via email to