summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsendmailadvanced.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/sendmailadvanced.in b/sendmailadvanced.in
index 3c12fe8..1813835 100755
--- a/sendmailadvanced.in
+++ b/sendmailadvanced.in
@@ -185,6 +185,13 @@ fi
(
[ -z "${datei}" ] && cat || cat "${datei}"
) | \
+sed '
+ 1,/^$/{
+ /^MIME-Version:/d
+ /^Content-Transfer-Encoding:/d
+ /^Content-Type:/d
+ }
+' | \
(
IFS=''
adressatenString=""