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
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):
# Exclude root mail
* ! ^To:.*firstname.lastname@example.org
-- Rick Johnson, RHCE #807302311706007 - email@example.com Linux/Network Administrator - Medata, Inc. PGP Public Key: https://mail.medata.com/pgp/rjohnson.asc