From bfdda56eef035a6a2c07b41ec690f60d5ec4539c Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 16 Apr 2018 08:50:38 +0200 Subject: sendmailadvanced.in: remove already-set MIME-Version,Content-Transfer-Encoding and Content-Type --- sendmailadvanced.in | 7 +++++++ 1 file changed, 7 insertions(+) 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="" -- cgit v1.2.3-70-g09d2