From: luis Date: Wed, 18 Oct 2006 01:44:40 +0000 (+0000) Subject: Fixed major bug: PGP/MIME handling would work only if variable X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=665578e5e89ee37da9950f3cbcc2dbe96aac0d99;p=firma.git Fixed major bug: PGP/MIME handling would work only if variable REMOVE_THESE_HEADERS_ON_ALL_LISTS was not empty. --- diff --git a/firma b/firma index e7fbc82..b561809 100755 --- a/firma +++ b/firma @@ -419,6 +419,8 @@ function EditListMessageHeaders { local header local sed_args + MESSAGE_HEADERS="$ORIG_MESSAGE_HEADERS" + # remove headers as/if defined by firma configuration file if [[ -n "$REMOVE_THESE_HEADERS_ON_ALL_LISTS" ]]; then for header in $REMOVE_THESE_HEADERS_ON_ALL_LISTS; do @@ -426,7 +428,7 @@ function EditListMessageHeaders { done MESSAGE_HEADERS="$( - echo "$ORIG_MESSAGE_HEADERS" | \ + echo "$MESSAGE_HEADERS" | \ sed $sed_args )" fi