procmail
[Top] [All Lists]

Returned Mail

1995-12-06 18:33:10

  To: sysop(_at_)mhs(_dot_)scbbs(_dot_)com
  From: postmaster(_at_)mhs(_dot_)scbbs(_dot_)com

-------------------[ session transcript ]--------------------
Sender: sysop(_at_)mhs(_dot_)scbbs(_dot_)com
To:     procmail(_at_)informatik(_dot_)rwth-aachen-de
Error:  Authoritative name error
Status: Reported by name server 198.41.0.4
        Delivery of the message has been cancelled

-------------------[ message transcript ]--------------------
Received: from Connect2 Message Router by mhs.scbbs.com
        via Connect2-SMTP 4.00.b13B; Wed, 6 Dec 95 17:13:36 -0800
Message-ID: <43CFC53081DF1300(_at_)mhs(_dot_)scbbs(_dot_)com>
Date: Wed, 6 Dec 95 17:13:30 -0800
From: sysop(_at_)SCBBS
Sender: sysop(_at_)mhs(_dot_)scbbs(_dot_)com
Organization: Software Creations
To: procmail(_at_)informatik(_dot_)rwth-aachen-de
Subject: Returned Mail
X-mailer: Connect2-SMTP 4.00.b13B MHS to SMTP Gateway


  To: sysop(_at_)mhs(_dot_)scbbs(_dot_)com
  From: postmaster(_at_)mhs(_dot_)scbbs(_dot_)com

-------------------[ session transcript ]--------------------
Sender: sysop(_at_)mhs(_dot_)scbbs(_dot_)com
To:     procmail(_at_)informatk(_dot_)rwth-aachen(_dot_)de
Error:  Authoritative name error
Status: Reported by name server 137.226.112.21
        Delivery of the message has been cancelled

-------------------[ message transcript ]--------------------
Received: from Connect2 Message Router by mhs.scbbs.com
        via Connect2-SMTP 4.00.b13B; Wed, 6 Dec 95 14:23:12 -0800
Message-ID: <53A7C53081DF1300(_at_)mhs(_dot_)scbbs(_dot_)com>
Date: Wed, 6 Dec 95 14:22:56 -0800
From: sysop(_at_)mhs(_dot_)scbbs(_dot_)com
Sender: sysop(_at_)mhs(_dot_)scbbs(_dot_)com
Organization: Software Creations
To: procmail(_at_)informatk(_dot_)rwth-aachen(_dot_)de
Subject: .procmailrc
X-mailer: Connect2-SMTP 4.00.b13B MHS to SMTP Gateway


I am trying to figure out how to create a recipe which will do the
following:

  1. save single message received to a unique filename
  2. execute perl script using that file name as parameter
  3. delete the file after execution of perl script

or

  1. save single message to a common file
  2. lock the file so that no other messages are saved to it temporarily
  3. execute perl script (this script will parse the common file)
  4. unlock file
  5. delete it before another message is written to it

It seems like it would be a fairly short and simple recipe, but I don't
have a clue right now.

Thanks.

-ron

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