From 96189184dbe43cf61a531b036b4d6aac224ac1de Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Tue, 15 Jun 2010 12:46:23 +0200 Subject: [PATCH 1/1] use sendmail checks to strip offlineimap headers --- .mutt/sendmail-checks.d/strip-offlineimap-header | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 .mutt/sendmail-checks.d/strip-offlineimap-header diff --git a/.mutt/sendmail-checks.d/strip-offlineimap-header b/.mutt/sendmail-checks.d/strip-offlineimap-header new file mode 100755 index 0000000..5e6c7a4 --- /dev/null +++ b/.mutt/sendmail-checks.d/strip-offlineimap-header @@ -0,0 +1,12 @@ +#!/bin/sh +# +# strip-offlineimap-header +# +# Ensure that sent messages do not include any X-OfflineIMAP-* headers. +# +# Copyright © 2010 martin f. krafft +# Released under the terms of the Artistic Licence 2.0 +# +set -eu + +sed -i -e /^X-OfflineIMAP-/d "$1" -- 2.39.5