#!/bin/sh
#open terminals with smtp port forwarding for sending emails
xterm -e 'netstat -tnl | grep -q :10025 || ssh -NL localhost:10025:localhost:25 bonedaddy.net' &
#xterm -e 'netstat -tnl | grep -q :30025 || autossh -NL localhost:30025:localhost:25 axxs.org' &
xterm -e 'netstat -tnl | grep -q :40025 || autossh -NL localhost:40025:localhost:25 master.debian.org' &
#xterm -e 'netstat -tnl | grep -q :40025 || ssh -NL localhost:40025:localhost:25 -L 127.0.0.2:50025:localhost:25 master.debian.org' &
#xterm -e 'netstat -tnl | grep -q :60025 || ssh -NL localhost:60025:localhost:25 ' &
