equal
deleted
inserted
replaced
|
1 #!/bin/sh |
|
2 # |
|
3 # This script checks for the presence of an autoresponse message, and if |
|
4 # present executes the autoresponder. |
|
5 # |
|
6 # To use this autoresponder, copy this file to |
|
7 # vmailmgr/vdeliver-postdeliver if it does not already exist. If it |
|
8 # exists, copy this file somewhere accessable and add a call to it to |
|
9 # vmailmgr/vdeliver-postdeliver. |
|
10 # |
|
11 # The autoresponder used here can be found at: |
|
12 # http://em.ca/~bruceg/qmail-autoresponder/ |
|
13 # |
|
14 |
|
15 if test -s $MAILDIR/autoresponse/message.txt |
|
16 then |
|
17 qmail-autoresponder $MAILDIR/autoresponse/message.txt $MAILDIR/autoresponse |
|
18 fi |