[clug] ssh / mail problems

Christopher Yeoh cyeoh at samba.org
Fri Apr 30 05:38:00 GMT 2004


At 2004/4/30 13:55+1000  gbj at theforce.com.au writes:
> Try turning off KeepAlive in your ssh_config
> 
> Grahame Jordan
> 
> > Dear list,
> >
> > I'm using a local postfix install to relay mail onto my university
> > account.  In my .xsession I have:
> >
> > /usr/bin/ssh -L 2525:remote-server:25 -l username -N remote-server &
> >
> > This works nicely, for a while at least.  If, for some reason, my wlan
> > connection drops or some other weirdness occurs then my ssh connection
> > silently drops, too.  In that case, I don't get a notification, or
> > anything.  Of course, from that point on, all mail is silently dropped
> > as well.
> >
> > So, my question is: what's a better way of tunneling SMTP and how to
> > make lost network connections (and the like) explicit to the user?
> > Has anyone got a similar setup running and knows how to deal with
> > problems like that?

If you are the only person sending mail from the machine then Tridge's
mailrunner can be a good alternative to tunelling SMTP.

http://samba.org/ftp/unpacked/junkcode/mail.runner

Chris
-- 
cyeoh at samba.org


More information about the linux mailing list