procmail
[Top] [All Lists]

Re: auto reply recipe

1996-07-13 07:15:45
wotan(_at_)netcom(_dot_)com writes on 12 July 1996 at 20:37:55
On Tue, 9 Jul 1996, Marc David Bumble wrote:

Dan made some good points, but to answer your question: :-)


     :1 h c
     ^Subject:.*treply
     | ($FORMAIL -rk  -p ">  " -I "X-Replier: Automated response" \
                      ^^
You have two spaces here, and I beleive you ned a ; at the end.

             -i "From: bumble(_at_)cse(_dot_)psu(_dot_)edu" \
             -i "Subject:automated response test"; \


Directly answering questions is not always the best course of action.
In this case we know what Marc is trying to acomplish, so it's
possible to give the right (or at least a better) answer.

Auto-response messages need to be handled with extreme care; Marc said
he is using a very old version of "procmail" (and he can't
upgrade)...so...
        :4 h c
        ^Subject:.*treply
        !^FROM_DAEMON
        !^Precedence: ?(bulk|list|junk)
        !^X-Loop: <bumble(_at_)cse(_dot_)psu(_dot_)edu>
        | ($FORMAIL -r -I "X-Replier: Automated response" \
                       -I "X-Loop: <bumble(_at_)cse(_dot_)psu(_dot_)edu>" \
                       -I "Reply-To: bumble(_at_)cse(_dot_)psu(_dot_)edu" \
                       -I "Precedence: junk" \
                       -i "Subject: automated response test"; \
                cat $HOME/Mail/reply; \
                echo " "; \
                cat $HOME/.signature) | $SENDMAIL -t

   Dan
------------------- message is author's opinion only ------------------
J. Daniel Smith <DanS(_at_)bristol(_dot_)com>        http://www.bristol.com/~dan
Bristol Technology B.V.                   +31 33 450 50 50, ...51 (FAX)
Amersfoort, the Netherlands               {info,jobs}(_at_)bristol(_dot_)com

<Prev in Thread] Current Thread [Next in Thread>