procmail
[Top] [All Lists]

Re: sed output to be captured back by procmail

1997-07-06 12:30:00
On Sun, 6 Jul 1997 10:40:50 -0400 (EDT),
Bobby <thsk(_at_)netcom(_dot_)com> wrote:
I'm am seeking the correct approach and syntax for the following
situation...  

Manual pages are installed on several web-accessible servers if you
do not have them installed locally. 

1st:  I would like a recipe to detect arriving mail from a
      particular source.
2nd:  If conditions match, cause the header/body to be piped and
      edited by sed. 
3rd:  Cause the output from sed to be piped (and|or) captured
      back by procmail to be used in additional recipes, maybe
      within a nesting block, before final deliver(y|ies).

    :0fw
    * ^(X-|Old-)?(Resent-)?(From|Sender:|Reply-To:)(.*\<)?particular source
    | sed -f script

/* era */

-- 
Defin-i-t-e-ly. Sep-a-r-a-te. Gram-m-a-r.  <http://www.iki.fi/~era/>
 * Enjoy receiving spam? Register at <http://www.iki.fi/~era/spam.html>

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