X-Git-Url: https://git.madduck.net/etc/mutt.git/blobdiff_plain/3031cacf7cdae16c8ac58ca399675b22ab3ea0d9..b2f281d78c0fa6ff0a92901a603098df6a5e57b2:/.mutt/sendmail diff --git a/.mutt/sendmail b/.mutt/sendmail index 881935d..b125941 100755 --- a/.mutt/sendmail +++ b/.mutt/sendmail @@ -41,6 +41,8 @@ fi args=$(for i in $recipients; do echo "--arg=$i"; done) run-parts --exit-on-error --umask=0077 --arg="$TMPFILE" $args -- "$CHECKSDIR" +recipients=$(echo "$recipients" | xargs) + formail $remove_headers < "$TMPFILE" \ | eval $SENDMAIL "$sendmail_args" -- "$recipients"