Re: question from a newbie..... can certain users be excluded?

From: Rick Johnson (
Date: Thu 18 Mar 2004 - 23:25:12 GMT

  • Next message: Hannes Gruber: "Re: S/MIME"

    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:.*
    |/usr/local/anomy/bin/ /etc/sanitizer.cfg



    Rick Johnson, RHCE #807302311706007 -
    Linux/Network Administrator - Medata, Inc.
    PGP Public Key:

    hosted by