procmail
[Top] [All Lists]

Re: subject mungeing and header question

1999-04-06 15:14:15
Chuck Campbell <campbell(_at_)neosoft(_dot_)com> writes:
I've looked deeper (at old messages and threads I have saved) and none of
them have either the In-Reply-To or References headers, so I am assuming
that the addition of "[911] " to the front of the subject line is the
culprit.

How can I get procmail to strip this when handling mail from this list?

        # Extact everything in the Subject: header after the "[911] "
        # and use formail to make that the new Subject:
        :0 fhw
        * ^Subject: *\[911\] \/.*
        |formail -I"Subject: $MATCH"


Philip Guenther

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