procmail
[Top] [All Lists]

RE: Appending text to subject line

2000-02-13 14:15:31
Okay, thanks for the help.  But, I have one more question.  I also want that
message moved into a message folder with the following command:
/usr/bin/dmail/mail/'Mailing Lists'

How would I add that to the recipe you have shown me below?

Thanks,
Jeff

-----
Jeff Grossman (jeff(_at_)stikman(_dot_)com)

-----Original Message-----
From: David W. Tamkin [mailto:dattier(_at_)mcs(_dot_)net]
Sent: Sunday, February 13, 2000 12:30 PM
To: Jeff Grossman
Cc: Procmail users list
Subject: Re: Appending text to subject line


Jeff Grossman asked,

| Would somebody be willing to give me an example recipe to make
this work?

OK, to append:

  :0fwh
  * other conditions
  * ^\/Subject:.*
  | formail -I "$MATCH end-text"

To prepend,

  :0fwh
  * other conditions
  * ^Subject:\/.*
  | formail -I "Subject: start-text$MATCH"