diff options
author | Erich Eckner <git@eckner.net> | 2018-04-16 08:50:38 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-04-16 08:50:38 +0200 |
commit | bfdda56eef035a6a2c07b41ec690f60d5ec4539c (patch) | |
tree | 1a8a84a56be623dd5b3791b840837baef49c78f0 | |
parent | d56b733c27187baa8deadff8dad8815b0f4a0638 (diff) | |
download | sendmailadvanced-bfdda56eef035a6a2c07b41ec690f60d5ec4539c.tar.xz |
sendmailadvanced.in: remove already-set MIME-Version,Content-Transfer-Encoding and Content-Type
-rwxr-xr-x | sendmailadvanced.in | 7 |
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="" |