Qmail-reply
From Qmail-LDAP Wiki
Contents |
Usage
qmail-reply [-f mailfile] [-j junkfile] [maildir]
Description
qmail-reply sends out reply messages, if you defined
deliverymode: reply
in your LDAP entry. qmail-reply is intellegent enough not to flood the sender with reply-messages, but to send only one message in a certain amount of time (see REPLY_TIMEOUT below). It also does not reply to messages having a "X-RBL" or "X-Spam-Status: Yes" header set.
Options at compile time
These variables can be changed in the Makefile or in qmail-ldap.h.
REPLY_TIMEOUT
- Timeout in seconds, after which another reply is sent to the same user. Don't set that value too high and spam others with reply messages!
- Default: 1209600 (= two weeks)
REPLY_CT
- This defines the Content-Type header of the reply message. It has to end with a linebreak (\n)!
- Default: "text/plain; charset=iso-8859-1\n"
REPLY_CTE
- Defines the Content-Transfer-Encoding header of the reply message. It has to end with a linebreak (\n)!
- Default: "8bit\n"
REPLY_SUBJ
- Default subject of the reply message, if the original message didn't have a subject.
- Default: "Your Mail"
Environment Variables
DTLINE
- what is that one used for?
SENDER
- Contains the original sender of the message, who will recieve the reply message.
RECIPIENT
- Contains the original recipient of the message. This will be used for the From header of the reply message.
HOST
- what is that one used for?
ENV_REPLYTEXT (default: QMAILREPLYTEXT)
- The reply text. The name of this environment variable can be changed before compiling qmail-ldap.
