From 3c4457c59334cf0957477a8ebf1adb9f97f5573c Mon Sep 17 00:00:00 2001 From: rhatto Date: Wed, 11 Oct 2006 16:21:41 +0000 Subject: temp debug --- firma | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'firma') diff --git a/firma b/firma index 4bb007c..58e0b48 100755 --- a/firma +++ b/firma @@ -373,10 +373,12 @@ function ParseGpgDecryptStderr { GetSenderAddress fi + SIGNED_BY="` echo "$gpg_decrypt_stderr" | grep '^\[GNUPG:] GOODSIG' | grep "$SENDER_ADDRESS"`" + if - echo "$gpg_decrypt_stderr" | \ - grep '^\[GNUPG:] GOODSIG' | \ - grep -q $SENDER_ADDRESS + echo "$gpg_decrypt_stderr" | \ + grep '^\[GNUPG:] GOODSIG' | \ + grep -q "$SENDER_ADDRESS" then SIGNATURE_MADE_BY_SENDER="1" else @@ -842,7 +844,10 @@ function ProcessMessage { # 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 -- cgit v1.2.3