mailbot - MIME-capable autoresponder utility

SYNOPSIS

mailbot [options] program arg arg...

.mailfilter:

    if (/^Subject: *info/)
    {
         cc "| mailbot -t /usr/share/autoresponse/info -d autoresponsedb \
                -A 'From: info@domain.com' /usr/bin/sendmail -f ''"
    }

DESCRIPTION

mailbot reads a message on standard input, then mails an autoresponse to the sender. The autoresponse is mailed by running program that's specified as an argument to mailbot after all the options. If not specified, mailbot runs 'sendmail -f ""'.

mailbot has several options for suppressing duplicate autoresponse messages. If mailbot chooses not to send an autoresponse, it quietly terminates without running program. The autoresponse is optionally formatted as a MIME delivery status notification.

The text of the autoresponse is specified by the -t or the -m argument. Either one is required. Everything else is optional. The default behavior is to send an autoresponse unless the original message has the "Precedence: junk" or "Precedence: bulk" header, or if's MIME content type is "multipart/report", which is used for delivery status notifications. The autoresponse itself will be a delivery status notification if the -M option is used.

OPTIONS

SEE ALSO

maildrop(1), reformail(1), reformime(1).