| 564 |
if test "x$ADDRESS" != 'xnone' ; then |
if test "x$ADDRESS" != 'xnone' ; then |
| 565 |
#- change default sender address ("From:") using "mail -r" option |
#- change default sender address ("From:") using "mail -r" option |
| 566 |
# since, by default, baudelaire uses USER@localhost.localdomain |
# since, by default, baudelaire uses USER@localhost.localdomain |
| 567 |
fullNam=`hostname -A | awk '{print $1}'` |
#fullNam=`hostname -A | awk '{print $1}'` |
| 568 |
MAILCMD="$MAILCMD -r ${USER}@${fullNam}" |
#MAILCMD="$MAILCMD -r ${USER}@${fullNam}" |
| 569 |
#--- |
#--- |
| 570 |
echo ".. send $OUTPSUM to '$ADDRESS' using '$MAILCMD'" |
echo ".. send $OUTPSUM to '$ADDRESS' using '$MAILCMD'" |
| 571 |
$MAILCMD -s 'check_outp summary' $ADDRESS < $OUTPSUM |
$MAILCMD -s 'check_outp summary' $ADDRESS < $OUTPSUM |