From: martin f. krafft Date: Wed, 13 Jul 2022 15:49:50 +0000 (+0200) Subject: Do not require a space after commas in x-acked header X-Git-Url: https://git.madduck.net/etc/mutt.git/commitdiff_plain/ad2469a55fba55ef2ab7de1c14ac46195bd1031b?ds=sidebyside;hp=337174a52f23b95a055ee0a0403919662d3616f9 Do not require a space after commas in x-acked header --- diff --git a/.config/mutt/sendmail-checks.d/ack-recipients b/.config/mutt/sendmail-checks.d/ack-recipients index 9a052ad..350ec44 100755 --- a/.config/mutt/sendmail-checks.d/ack-recipients +++ b/.config/mutt/sendmail-checks.d/ack-recipients @@ -24,7 +24,7 @@ set -eu CHECKLIST="$HOME/.config/mutt/ack-recipients" HEADER=X-Acked -ACKED_RCPTS=$(formail -czx ${HEADER}: < $1 | tr -d ',' | tr '[[:upper:]]' '[[:lower:]]') +ACKED_RCPTS=$(formail -czx ${HEADER}: < $1 | sed -re 's/,\s*/ /g' | tr '[[:upper:]]' '[[:lower:]]') MAILFILE="$1"; shift ret=0