X-Git-Url: https://git.madduck.net/etc/mutt.git/blobdiff_plain/3031cacf7cdae16c8ac58ca399675b22ab3ea0d9..db13fabef4016b65602264e263ac23ae332ec660:/.mutt/sendmail?ds=sidebyside 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"