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