Posted on Sunday, 31st May 2009 by Balazs
Installation
get it from http://www.em.ca/~bruceg/qmail-autoresponder/
untar the tarball
$ make
# ./installer
# ./instshow
# vi /etc/vmailmgr/vdeliver-postdeliver
And make sure it contains:
#!/bin/sh
if test -s $MAILDIR/autoresponse/message.txt
then
qmail-autoresponder $MAILDIR/autoresponse/message.txt $MAILDIR/autoresponse
fi
Then
# /etc/vmailmgr/vdeliver-predeliver
and make sure it contains:
#!/bin/sh
/usr/local/bin/vcheckquota
Then
# chmod a+x /etc/vmailmgr/*
Usage
Put
|qmail-autoresponder MESSAGE_FILE DIRECTORY
into your
.qmail
file before other delivery instructions. MESSAGE_FILE is a pre-formatted response, including headers, and DIRECTORY is the directory into which rate-limiting information will [...]
Tags: Qmail
Posted in Technology | Comments (Comments)