How do I use bashrc to redirect an executable call?
Hi,
I need to redirect a /usr/sbin/sendmail command to $HOME/bin/msmtp .
The sendmail command would be coming from a PHP5 application.
I'm assuming the best way is to use .bashrc, but .htaccess is also available.
The remote server is a shared web host which is running Debian 4.0.
I do not have root access.
I have SSH access.
Any ideas?
Thanks!
|