X-Git-Url: https://git.madduck.net/etc/mutt.git/blobdiff_plain/7013dfe93a05082153f79eca6c9e5c05b54d9d50..ade7618250406d55a62464e2a222b077ea18c6c2:/.config/mutt/sendmail-checks.d/ack-recipients?ds=inline 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