revival
March 9th, 2009, 09:11 PM
Hello all,
I need to start a shell script whenever Thunderbird is launched. The reason for this is that I have a shell script that creates a ssh tunnel to my mail server, so in order to send emails I need to start that script first.
I was thinking about pointing the Thunderbird Desktop Launcher to the script and then in the script, launch the ssh tunnel first, and then start the Thunderbird binary in the background (&)
Another issue is that I also need to provide a password for my ssh tunnel (it is a regular shell account with my school), is there any way I can automatically feed that password to the script instead of typing it every time?
Any idea how can I accomplish this task?
Thanks in advance.
I need to start a shell script whenever Thunderbird is launched. The reason for this is that I have a shell script that creates a ssh tunnel to my mail server, so in order to send emails I need to start that script first.
I was thinking about pointing the Thunderbird Desktop Launcher to the script and then in the script, launch the ssh tunnel first, and then start the Thunderbird binary in the background (&)
Another issue is that I also need to provide a password for my ssh tunnel (it is a regular shell account with my school), is there any way I can automatically feed that password to the script instead of typing it every time?
Any idea how can I accomplish this task?
Thanks in advance.