David Camm wrote:
> putting MAIL="" in crontab really isn't an option, nor is mailing this output to
> an external address.
>
> is there any way i can tell sanitizer to ignore mail for root (or some list of
> accounts)?
>
You haven't mentioned how sanitizer is being called. Are you calling it
through sendmail, procmail, ?
If the latter, it's pretty easy to add an exclusion line to the
procmailrc if the sender is root@hostname.
Example (other methods of getting To: could work too):
:0 fw
# Exclude root mail
* ! ^To:.*118857@xyz.molar.is
|/usr/local/anomy/bin/sanitizer.pl /etc/sanitizer.cfg
HTH,
-Rick
-Rick
-- Rick Johnson, RHCE #807302311706007 - 118777@xyz.molar.is Linux/Network Administrator - Medata, Inc. PGP Public Key: https://mail.medata.com/pgp/rjohnson.asc