Re: [Evolution] POP3 SSH Tunneling with Evolution



On Tue, 2004-09-14 at 21:07 -0500, phusion wrote:
I've been trying to figure out how to check my POP3 mail securely in
Evolution by tunneling using openssh. Right now, I have a shell script
I run to check my email (evolution.sh).

#!/bin/sh
# set up SSH tunnel
ssh -L 8110:mailserver:110 -L 8025:mailserver:25 username host com
'sleep 30; exit' &
# start up Evolution
evolution

Inside Evolution I've set it up to check localhost:8110 and
localhost:8025. When I run the script it opens Evolution and I can
check my email, but if I leave Evolution open for a few minutes then
decide to email someone, by that time the ports 8110 and 8025 are
closed. Is there any way to allow my script to keep running and keep
the ports open until Evolution has been closed? Let me know how I can
do this. Thanks.


I use "sleep 100000" in my ssh command line, which leaves it running for
that period of seconds.


Des

-- 

Des Dougan, Principal
Dougan Consulting Group

Ph: 604-980-2848       Email: des at DouganConsulting dot com     

        www.DouganConsulting.com

Design - Implementation - Support





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