This post might belong in UNIX or Mac OS X as well.
I'm looking for suggestions. Here's the thing:
My ISP's blocking the smtp port (25).
I therefore have a bash script, which tunnels my local port 5525 to our corporate mail server's port 25. I start this script manually each time I wish to send mails.
Everytime I start the computer or wake it from sleep, I have to start the script manually.
Is there anyway to this this automatically?
I WOULD like the script to get invoked before sending mail, since I'm sometimes on dialup (meaning I won't have a connection to the internet as the computer starts up or wakes up from sleep).
Any suggestions?