diff -r 000000000000 -r 6f7a81934006 scripts/autoresponder.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/scripts/autoresponder.sh Wed Jan 16 22:39:43 2008 +0100 @@ -0,0 +1,18 @@ +#!/bin/sh +# +# This script checks for the presence of an autoresponse message, and if +# present executes the autoresponder. +# +# To use this autoresponder, copy this file to +# vmailmgr/vdeliver-postdeliver if it does not already exist. If it +# exists, copy this file somewhere accessable and add a call to it to +# vmailmgr/vdeliver-postdeliver. +# +# The autoresponder used here can be found at: +# http://em.ca/~bruceg/qmail-autoresponder/ +# + +if test -s $MAILDIR/autoresponse/message.txt +then + qmail-autoresponder $MAILDIR/autoresponse/message.txt $MAILDIR/autoresponse +fi