X-Git-Url: https://git.madduck.net/etc/mutt.git/blobdiff_plain/7013dfe93a05082153f79eca6c9e5c05b54d9d50..430e48116e37f0999bec441442471196598e9249:/.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