qmail-autoresponder
Section: User Commands (1)
Index NAME
qmail-autoresponder - Rate and time limited autoresponder for
qmail/indimail
SYNOPSIS
qmail-autoresponder [
OPTIONS]
messagefiledirectory
OPTIONS
-c Copy message into response
-q Don't show error messages
-l Lax Mode. Respond even if recipient is not in To, Cc, Bcc,
Resent-To, Resent-Cc, Resent-Bcc headers
-L Don't try to make links to conserve inodes
-N Don't send, just send autoresponse to standard output
-n NUM Set the maximum number of replies (defaults to 1)
-t TIME Set the time interval, in seconds (defaults to 1 week)
-s STR Add the subject to the autoresponse, prefixed by STR
-S STR The subject in autoresponse (defaults to the subject in
received mail)
-b SDate Date in YYYY-mm-dd HH:MM:SS from which the autoresponder
should start functioning
-e EDate Date in YYYY-mm-dd HH:MM:SS after which the autoresponder
should stop functioning
-f addr Set addr as the From field in autoresponse (defaults to
recipient)
DESCRIPTION
qmail-autoresponderis a RFC 3834 compliant responder to automatically respond to emails.
qmail-autorespondercreates temporary files in
directory to track sender's rates. If more than NUM messages arereceived from the same sender within TIME seconds of each other, no response is sent. Thisprogram must be run by qmail. Put "|qmail-autoresponder
messagefile directory" intoyour ".qmail" file before other delivery instructions.
messagefile is a pre-formattedresponse, including headers, and
directory is the directory into which rate-limitinginformation will be stored. By default
qmail-autoresponderwill reply with the address of the recipient. This behaviour can be altered by setting theenvironment variable SERVICE_RESPONDER. The value of SERVICE_RESPONDER can be set to a friendlyname which will appear in the 'from address'. For a service responder, the address will bedetermined by the
bouncefrom and
bouncehost control files. The Return-Path however inboth the cases will be null to prevent brain damaged MTA like M$Exchange to send bounces/reply toautoresponder.
qmail-autoresponderreplaces occurrences of the following special characters in the messagefile.
- [bu]
- %S - Subject of the original mail
- [bu]
- %D - Date header in the original mail
- [bu]
- %d - Date of the auto response
- [bu]
- %t - Envelope recipient
- [bu]
- %T - Recipient(s) to whom the mail has been addressed
- [bu]
- %C - Recipient(s) to whom the mail has been Copied
- [bu]
- %B - Recipient(s) to whom the mail has been Blind Copied
- [bu]
- %F - Sender of the orignal mail
- [bu]
- %R - Return Path of the orignal mail
- [bu]
- %r - Bogosity value of the orignal mail (Spam Rating)
- [bu]
- %M - Mailer used by the sender
- [bu]
- %m - Message ID of the original mail
- [bu]
- %% - The % sign itself
Features
- Limits rate of automatic responses (defaults to a maximum of one
message every week).
- Validity period can be specified (Start Date or End Date or
combination of Start Date and End Date)
- Will not respond to nearly every type of mailing list or bulk email.
- Will not respond to spam mails (mails filtered by bogofilter)
- Will not respond to bounce messages or MAILER-DAEMON.
- Bounces looping messages.
- Can insert the original subject into the response.
- Can copy original message into response as MIME
- Can use links in the rate-limiting data directory to limit inode
usage to a single inode.
- Inserts Auto-Submitted, In-Reply-To and References headers as per
RFC 3834. The value of Auto-Submitted headers is set to 'auto-replied'.
In-Reply-To and References headers are set to the Message ID in the
original mail (if present).
- Can insert header fields from the original mail into the
autoresponse if special characters are inserted in the
messagefile.
- RFC 3834 compliant
Index
- NAME
- SYNOPSIS
- OPTIONS
- DESCRIPTION
- Features
This document was created byman2html,using the manual pages.