NAME
    toaster-watcher.pl - monitors aspects of a qmail toaster

SYNOPSIS
    At the moment toaster-watcher is two things. First, it's a configuration
    file that stores settings about your mail system. Other scripts and
    programs use this configuration file to determine how to configure
    themselves and other parts of the mail toaster solution.

    The second part is a script that builds the control (run) file for
    qmail-smtpd. It takes into consideration all your settings, tests the
    RBL's you've selected to use, and builds a control file accordingly. It
    will soon be much, much more.

DESCRIPTION
TODO
    Optionally send an email notification to an admin if a file gets
    updated. Make this configurable on a per service basis. I can imagine
    wanting to know if pop3/run or send/run ever changed but I don't care to
    get emailed every time a RBL fails a DNS check.

    Feature request by David Chaplin-Leobell: check for low disk space on
    the queue and mail delivery partitions. If low disk is detected, it
    could either just notify the administrator, or it could do some cleanup
    of things like the qmail-scanner quarantine folder.

AUTHOR
    Matt Simerson <matt@tnpi.biz>

DEPENDENCIES
    This module requires these other modules and libraries:

    Net::DNS

SEE ALSO
    http://www.tnpi.biz/internet/mail/toaster/

COPYRIGHT
    Copyright (c) 2004, The Network People, Inc. All rights reserved.

    Redistribution and use in source and binary forms, with or without
    modification, are permitted provided that the following conditions are
    met:

    Redistributions of source code must retain the above copyright notice,
    this list of conditions and the following disclaimer.

    Redistributions in binary form must reproduce the above copyright
    notice, this list of conditions and the following disclaimer in the
    documentation and/or other materials provided with the distribution.

    Neither the name of the The Network People, Inc. nor the names of its
    contributors may be used to endorse or promote products derived from
    this software without specific prior written permission.

    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
    IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
    TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
    PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
    OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
    EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
    PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
    PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
    LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
    NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
    SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

