From ad2469a55fba55ef2ab7de1c14ac46195bd1031b Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Wed, 13 Jul 2022 17:49:50 +0200 Subject: [PATCH 1/1] Do not require a space after commas in x-acked header --- .config/mutt/sendmail-checks.d/ack-recipients | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5