I would like to do a simple rewrite (basically, just string replace) in the Subject line for outgoing mail, but only if there is a specific From address in the message. I looked at headers_checks, but I cannot understand how it works when you are dealing with more than one header. It would be helpful if I could process the outgoing mail using the custom script, but I can't find how to do that in postfix.
Any suggestions? Thanks!