Content-type: text/html Manpage of qmail-autoresponder-mysql

qmail-autoresponder-mysql

Section: User Commands (1)
Index Return to Main Contents
 

NAME

qmail-autoresponder-mysql - Produce automatic responses with qmail  

SYNOPSIS

qmail-autoresponder-mysql [ -cLNqT ] [ -O NAME[=VALUE] ] [ -n NUM ] [ -s STR ] [ -t TIME ] USERNAME DOMAIN  

DESCRIPTION

qmail-autoresponder-mysql sends an automatically-generated message in response to an incoming message. By default, it limits the number of responses it sends to a maximum of one message per hour per sender. It will not respond to any known mailing list, nor will it respond to either bounces or loops. The USERNAME and DOMAIN arguments are used to select which autoresponder to use from the MySQL database. If a record in the autoresponder table matches the username and domain, the program purges old records for that autoresponder from the response table and then counts the remaining responses listed there. If a response is sent, a record is also added to that table. See the man page for qmail-autoresponder(1) for more details.  

OPTIONS

qmail-autoresponder-mysql supports options specified on the command line and as fields in the autoresponder table. Option fields are named opt_OPTION in the database, and override options set on the command line. See the man page for qmail-autoresponder(1) for a full list of options.  

EXAMPLES

Typical usage in a .qmail-default file would be as follows:

|qmail-autoresponder-mysql -- "$EXT" "$HOST"  

ENVIRONMENT

DTLINE
qmail-autoresponder-mysql searches for this line (generated by qmail-local) in the input and bounces the message if it is present (which indicates a mail loop). It then adds the line to the output.
MYSQL_DB
MYSQL_HOST
MYSQL_PASS
MYSQL_SOCKET
MYSQL_USER
These set the default parameters for the MySQL database connection. If not set, qmail-autoresponder-mysql uses the defaults in the qmail-autoresponder group in the MySQL option file.
SENDER
This contains the envelope sender address and is used as the address to send the reply to.
 

SEE ALSO

qmail-autoresonder(1)


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLES
ENVIRONMENT
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 22:28:18 GMT, April 28, 2008