Or use an alias for sendmail to /proj/chris/bin/msmtp in your .profile or .bash_profile.
If you want it for all users put it into /etc/default/ one.
Regards Keith
________________________________
From: main-bounces@lists.alug.org.uk on behalf of Adam Bower Sent: Fri 16/03/2007 5:18 PM To: main@lists.alug.org.uk Subject: Re: [ALUG] Can anyone suggest any neat ways to do this.......
On Fri, Mar 16, 2007 at 04:39:44PM +0000, Eur Ing Chris Green wrote:
So, where can I put the two different versions of msmtp so that I get the riht one? I have root access on the Linux box but not on the Solaris box. Unfortunately /proj/chris/bin is visible on *both* Linux and Solaris so I can't create a Linux /proj/chris/bin.
Put something in an rc script that uses uname -s to add /proj/chris/linux/bin or /proj/chris/solaris/bin to the $PATH as appropriate.
Adam -- jabberid = quinophex@jabber.earth.li
_______________________________________________ main@lists.alug.org.uk http://www.alug.org.uk/ http://lists.alug.org.uk/mailman/listinfo/main Unsubscribe? See message headers or the web site above!