I have an existing procmail recipe to forward a copy to my gmail account that is working well:
:0c
! myAddress@gmail.com
I have a second rule that is also working well (in limited testing) to prefix the subject with [OLD DOMAIN]:
:0fwh
* (To|Cc).*oldDomain.com
* ^Subject:\/.+
| formail -I"Subject: [OLD DOMAIN]$MATCH"
The issue is in my local email account I get the modified subject as expected, but not in my gmail account. How can I combine these rules or modify the forward and copy rule to change the subject?