procmail
[Top] [All Lists]

Trouble with procmail v3.11pre7 and dependant recipes

1998-03-11 08:00:35
From: Ralph SOBEK <sobek(_at_)irit(_dot_)fr>
To: procmail(_at_)informatik(_dot_)rwth-aachen(_dot_)de
Subject: Trouble with procmail v3.11pre7 and dependant recipes
Date: Fri, 27 Feb 1998 19:11:14 +0100 (MET)
Resent-Date: Fri, 27 Feb 1998 20:04:27 +0100 (MET)
Resent-Message-ID: <"PPz2mB.A.V3G.IHw90"@campino>
Resent-From: procmail(_at_)informatik(_dot_)rwth-aachen(_dot_)de
Resent-Sender: procmail-request(_at_)informatik(_dot_)rwth-aachen(_dot_)de
X-Url: http://www.irit.fr/SSI/~Ralph.Sobek/
Organization: IRIT (CNRS), Toulouse, France

Hello Folks,

        I sent the following message out on Feb. 27th, but we also had
mailer troubles at that time.  So maybe the following never made it
out.  I never received any replies.  Sorry if this is old stuff to
you, but I still haven't gotten this to work.

        I need a complicated condition that has to be done by a
program using both headers and body.  If the program exits without an
error, I would then like another program to do the action.

        Is this possible with procmail?  Here is what my script looks
like (names were changed to protect the innocent):

:0
* ^TOsobek
* ^Subject:.*test
{
  :0 hbw
  | $HOME/bin/check-abstract

  :0 ahbw
  | (formail -r -k -A"Precedence: junk"  -A"X-Loop: sobek(_at_)irit(_dot_)fr" \
   -i"Reply-To: foo(_at_)bar(_dot_)com" ; \
   echo "Test Message" ; \
   cat $HOME/mail/ack.txt ) | $SENDMAIL -t
}

        Any and all suggestions welcome.

        A nice weekend to all,

        --Ralph

Dr. Ralph P. Sobek                Disclaimer: The above ruminations are my own.
Ralph(_dot_)Sobek(_at_)irit(_dot_)fr                       Addresses are 
ordered by importance.
sobek(_at_)irit(_dot_)fr                                        If all else 
fails, try:
newsmaster(_at_)irit(_dot_)fr, postmaster(_at_)irit(_dot_)fr             
sobek(_at_)diva(_dot_)eecs(_dot_)berkeley(_dot_)edu
Ph:(+33)[0]561558618 FAX:(+33)[0]561556258 http://www.irit.fr/SSI/~Ralph.Sobek/
===============================================================================
The truth about the Past is really all we have to guide us in the Present
                                                    -- Mary Benson (1964)

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