diff options
Diffstat (limited to 'firma')
-rwxr-xr-x | firma | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -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 |