On 2012-04-12 at 19:30 +0000, Grant Edwards wrote: > IIRC the procmail delivery line just called formail and passed > it the -I option with the new subject line (created with sed > probably).
After unfolding and decoding the header fields to UTF-8 I pipe the message through sed directly. For example the sed command for the list notm...@notmuchmail.org would look like this: sed '1,/^$/ { /^Subject:/s/\[notmuch\][[:space:]]*//g }' Just in case someone might be interested...