tags 468700 + patch thanks Patch attached.
Regards,
--
Chris Lamb, UK [EMAIL PROTECTED]
GPG: 0x634F9A20
diff -urNad tiger-3.2.2.orig/tigercron tiger-3.2.2/tigercron
--- tiger-3.2.2.orig/tigercron 2008-04-08 09:14:37.000000000 +0100
+++ tiger-3.2.2/tigercron 2008-04-08 09:16:22.000000000 +0100
@@ -256,7 +256,7 @@
done >> $WORKDIR/tigcron.diff.$$
[ ! -n "$Tiger_Mail_RCPT" ] && Tiger_Mail_RCPT="root"
-[ ! -n "$Tiger_Mail_FROM" ] && Tiger_Mail_FROM="[EMAIL PROTECTED]"
+[ ! -n "$Tiger_Mail_FROM" ] && Tiger_Mail_FROM="[EMAIL PROTECTED](hostname)"
length=1
if [ ! -n "$EGREP" ] ; then
@@ -272,9 +272,9 @@
}
haveallcmds MAILER && [ "$send" = "Y" ] && {
# Mail header (so it does not just say it's root
- echo "From: \"Tiger automatic auditor at $HOSTNAME\" <$Tiger_Mail_FROM>"
+ echo "From: \"Tiger automatic auditor at $(hostname)\"
<$Tiger_Mail_FROM>"
echo "To: $Tiger_Mail_RCPT"
- echo "Subject: Tiger Auditing Report for $HOSTNAME"
+ echo "Subject: Tiger Auditing Report for $(hostname)"
echo
cat $WORKDIR/tigcron.diff.$$
} | $MAILER $Tiger_Mail_RCPT
signature.asc
Description: PGP signature

