[Scottish] mail server issues
Colin McKinnon
colin.mckinnon at ntlworld.com
Sun Apr 27 22:09:41 BST 2008
On Sunday 27 April 2008 22:03, Colin McKinnon wrote:
> On Friday 25 April 2008 12:25, Roland Ward wrote:
<snip>
...and I forgot to mention - you could just invoke it over ssh:
#!/bin/bash
{
date
;
echo text to send
;
ls -ld /tmp
} | ssh mailuser at mailhost "mailx -s 'permissions cock up again' dbas at mailhost"
(assuming you've got a key pair setup of course)
C.
More information about the Scottish
mailing list