From 8549170f2638a95890cacc2919054b5fd69c6241 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Thu, 29 Jan 2015 22:00:04 +0100 Subject: [PATCH] use sed instead of formail --- .mutt/sendmail-checks.d/zzz_add-spool-bcc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5