From: martin f. krafft Date: Tue, 11 Mar 2008 19:35:04 +0000 (+0100) Subject: rename existing postponed header on tickle X-Git-Url: https://git.madduck.net/etc/mutt.git/commitdiff_plain/4dfb6aa210d7faf1e8bfed38c120f1749d8ba699 rename existing postponed header on tickle --- diff --git a/.mutt/add-tickle-stamp b/.mutt/add-tickle-stamp index 715ceff..b0c0ba1 100755 --- a/.mutt/add-tickle-stamp +++ b/.mutt/add-tickle-stamp @@ -40,7 +40,8 @@ tickle=$(date +'%s (%c)' -d "$date") TMPFILE="$(tempfile -d /tmp -p tickle)" trap "rm -f $TMPFILE" 0 1 2 3 4 5 6 7 8 10 11 12 13 14 15 -formail -i "X-Tickle: $tickle" < $file > $TMPFILE +formail -i "X-Tickle: $tickle" < $file \ + | formail -R X-Postponed X-Was-Postponed > $TMPFILE [ -w "$file" ] && mv $TMPFILE $file