X-Git-Url: https://git.madduck.net/etc/mutt.git/blobdiff_plain/7268fe31b1ff66a337913749eaca0b98b4860830..8549170f2638a95890cacc2919054b5fd69c6241:/.mutt/sendmail-checks.d/zzz_add-spool-bcc?ds=sidebyside diff --git a/.mutt/sendmail-checks.d/zzz_add-spool-bcc b/.mutt/sendmail-checks.d/zzz_add-spool-bcc index 96c8e7b..33d9254 100755 --- a/.mutt/sendmail-checks.d/zzz_add-spool-bcc +++ b/.mutt/sendmail-checks.d/zzz_add-spool-bcc @@ -20,5 +20,5 @@ if ! cp -n "$INPUT" "$DEST"; then echo >&1 "W: leaving a copy in '$TMPFILE'…" else RECIPIENTS=$(for i in "$@"; do echo " $i,"; done) - formail -I"X-Sendmail-Recipients:${RECIPIENTS%,}" < "$INPUT" > "$DEST" + sed -e "1iX-Sendmail-Recipients:${RECIPIENTS%,}" < "$INPUT" > "$DEST" fi