X-Git-Url: https://git.madduck.net/etc/mutt.git/blobdiff_plain/337174a52f23b95a055ee0a0403919662d3616f9..ad2469a55fba55ef2ab7de1c14ac46195bd1031b:/.config/mutt/sendmail-checks.d/ack-recipients 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