thad@cup.portal.com (Thad P Floryan) (02/05/90)
Here's a tip you may find useful if you're running HDB and a smart mailer
(such as smail). In the scripts:
/usr/lib/uucp/uudemon.admin, and
/usr/lib/uucp/uudemon.cleanu
which are run from crontab, you'll notice lines like:
(echo "Subject: uu-status"; cat $TMP) | mail $MAILTO
If you append a "\n" to the echo string, forcing a blank line between the
"Subject:" and the mail body text, your mail headers won't get munged and
the mail text will appear in the proper place. For example:
(echo "Subject: uu-status\n"; cat $TMP) | mail $MAILTO
^^
add this
Some of the items in uudemon.cleanu are multi-line like the following:
(echo "Subject: uudemon.cleanup: HELP! PANIC! FIRE!\n"
echo "$LOGDIR/$i not directory! - remaking") | mail $MAILTO
(echo "Subject: uudemon.cleanup\n"
echo "unable to chdir to $LOGDIR/$i") | mail $MAILTO
So be sure you find and edit them all.
Thad Floryan [ thad@cup.portal.com (OR) ..!sun!portal!cup.portal.com!thad ]