From: martin f. krafft Date: Tue, 15 Jun 2010 10:46:23 +0000 (+0200) Subject: use sendmail checks to strip offlineimap headers X-Git-Url: https://git.madduck.net/etc/mutt.git/commitdiff_plain/96189184dbe43cf61a531b036b4d6aac224ac1de?ds=sidebyside use sendmail checks to strip offlineimap headers --- 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"