#-------------------------------------------------------------
local gpg_decrypt_stderr
- local sender_address
# get GPG_DECRYPT STDERR, discarding its STDOUT
gpg_decrypt_stderr="$(
GetSenderAddress
fi
- sender_address="`echo "$gpg_decrypt_stderr" | grep '^\[GNUPG:] GOODSIG' | awk '{ print $4 }'`"
+ SIGNED_BY="`echo "$gpg_decrypt_stderr" | grep '^\[GNUPG:] GOODSIG' | awk '{ print $4 }'`"
- if [ "$sender_address" == "$SENDER_ADDRESS" ]; then
+ if [ "$SIGNED_BY" == "$SENDER_ADDRESS" ]; then
SIGNATURE_MADE_BY_SENDER="1"
else
SIGNATURE_MADE_BY_SENDER="0"
# this is the body of the message to be sent, so no indentation here
MESSAGE_BODY="\
It was not possible to process this message. Message was
- not sent by the person who signed it."
+ not sent by the person who signed it.
+
+ Sent by: $SENDER_ADDRESS
+ Signed by: $SIGNED_BY"
ComposeAndSendBounceMessage
fi
echo "$MESSAGE" | $MAIL_AGENT $MAIL_AGENT_ARGS $recipients
done
+ FixListOwnerShip
+
}
fi
done
+ FixListOwnerShip
return $?
}
KEYSERVER
MODE
ADMIN_MESSAGE
- SIGNATURE_MADE_BY_SENDER"
+ SIGNATURE_MADE_BY_SENDER
+ SIGNED_BY"
FUNCTIONS="
Usage