Frantisek Hanzlik wrote:
You can use "reformime" from maildrop package (present in Fedora):
reformime -c UTF-8 -h "header" reformime -c UTF-8 -h "$(grep -i '^Subject:' MailFile)" # Header keys are case-insensitive, thus "-i"
Nice. I thought about formail, but when I did a quick test I found it didn't decode the headers. The reformime utility sounds like a good tool to keep in mind. Thanks!