[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Close list



On Tue, Dec 26, 2000 at 11:36:00AM +0200, Kai Henningsen wrote:

> Just tested that. ssh to master, telnet to localhost smtp, it was quite  
> willing to relay mail with a non-local envelope. (And left enough clues in  
> the header to track who did that just in case it ever becomes necessary.)
> 
> Now if someone was to send much mail that way, I expect checking with the  
> admins in advance might be a good idea, but for low volume (and for  
> contents where the association with Debian in the mail headers won't be a  
> problem) this seems like an easy way to do it.
> 
> For automated usage, I expect one would prefer something like netcat to  
> telnet, though :-)

Or better, ssh port forwarding.  Simpler, more reliable, and encryption as a
bonus.

ssh -L localport:localhost:25 somewhere.debian.org sleep a_while

and while ssh is connected, connect to localport on the client side to be
forwarded to port 25 on localhost at the server side.

-- 
 - mdz



Reply to: