[Evolution] POP3 SSH Tunneling with Evolution



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.



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