procmail
[Top] [All Lists]

Re: Appending text to subject line

2000-02-13 13:41:37
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"