Xref: utzoo unix-pc.general:4750 comp.sys.att:8703 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!mips!apple!portal!portal!cup.portal.com!thad From: thad@cup.portal.com (Thad P Floryan) Newsgroups: unix-pc.general,comp.sys.att Subject: Tip for smart mailers and HDB admin crontab scripts Message-ID: <26610@cup.portal.com> Date: 5 Feb 90 09:48:06 GMT Organization: The Portal System (TM) Lines: 29 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 ]