# config for action: notify

rcpt="root"
from="uback"
subject="message from uback"



# this function will be called by notify with your message, i.e.:
# uback notify "hey, control the disks!"
mail () {
    msg=$*
    (
	echo "From: $from";
	echo "To: $rcpt";
	echo "Subject: $subject";
	echo;
	echo;
	echo "$msg";
    ) | /usr/sbin/sendmail -t
}