On Wed, Jan 17, 2001 at 10:52:19AM -0500, Jerry Sloan said at one point in time:
I need to be able to send an auto-reply to customers sending e-mail to our
[...]
well, it took me a bit, but the placing this in rc.local.s20 and uncommenting the appropriate line in the rc.custom file will provide this functionality.
hope it helps,
-r
# recipe to send an autoreply
REPLY_TEXT=/path/to/autoreply.txt REPLY_SUBJECT="Message Recieved"
:0 whc | formail -rtzc -xTo: >tmp.from
:0 ch :autoreply.lock | (formail -rtzc -I "Subject: $REPLY_SUBJECT" \ -A"Precedence: junk" ; cat $REPLY_TEXT) | \ $SENDMAIL -t `cat tmp.from`