I have a script that replaces the Date header in e-mail with one in my local timezone. This works fine, but it stops hdr_order from working.
Without $display_filter set, $hdr_order works fine. When $display_filter
is set, $hdr_order stops functioning, and headers are displayed in
whatever order they are present in the output of the display filter in.
Is there some way to get $display_filter and $hdr_order to cooperate?
You can find the display filter I am using attached. I am using the
following configuration with Mutt 1.5.23:
unhdr_order *
hdr_order From: To: Cc: Date: Subject:
set display_filter = ~/.config/mutt/filters/local-date
Thanks. :-)
#!/bin/sh temp=$(mktemp) cat > "$temp" date=$(formail -xDate: < "$temp") date=$(date -R -d "$date") formail -fI "Date: $date" < "$temp" rm -f "$temp"
pgp01JdnUkTmn.pgp
Description: PGP signature
