aboutsummaryrefslogtreecommitdiff
path: root/firma
diff options
context:
space:
mode:
authorluis <luis>2006-10-18 01:44:40 +0000
committerluis <luis>2006-10-18 01:44:40 +0000
commit665578e5e89ee37da9950f3cbcc2dbe96aac0d99 (patch)
tree858623d3d8b53a580c2be85d7049f33ddf05e175 /firma
parent0d58d0d4de16a3d73bb71857fdb2e24f57fbb2cd (diff)
downloadfirma-665578e5e89ee37da9950f3cbcc2dbe96aac0d99.tar.gz
firma-665578e5e89ee37da9950f3cbcc2dbe96aac0d99.tar.bz2
Fixed major bug: PGP/MIME handling would work only if variable
REMOVE_THESE_HEADERS_ON_ALL_LISTS was not empty.
Diffstat (limited to 'firma')
-rwxr-xr-xfirma4
1 files changed, 3 insertions, 1 deletions
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