diff options
author | rhatto <rhatto> | 2006-10-11 17:28:40 +0000 |
---|---|---|
committer | rhatto <rhatto> | 2006-10-11 17:28:40 +0000 |
commit | e0f16f447d2bc35c3e025932d5285a6f3f3880bb (patch) | |
tree | a94c331195c1574d2a70530d5bc3f7ba0ccc41a5 | |
parent | 8524147ac813553b3afb2cd26483898c697299f0 (diff) | |
download | firma-e0f16f447d2bc35c3e025932d5285a6f3f3880bb.tar.gz firma-e0f16f447d2bc35c3e025932d5285a6f3f3880bb.tar.bz2 |
small fixes
-rwxr-xr-x | firma | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -824,7 +824,7 @@ function ProcessMessage { # then, if signature can't be checked, then probably the sender is not subscribed to the list # send a bounce, if possible - if [[ $SIGNATURE_CHECKING_FAILED == 1 ]]; then + if [ "$SIGNATURE_CHECKING_FAILED" == "1" ] && [ "$REQUIRE_SIGNATURE" == "yes" ]; then # this is the body of the message to be sent, so no indentation here MESSAGE_BODY="\ @@ -844,7 +844,7 @@ function ProcessMessage { questions." ComposeAndSendBounceMessage - elif [[ SIGNATURE_MADE_BY_SENDER != 1 ]]; then + elif [ "$SIGNATURE_MADE_BY_SENDER" != "1" ] && [ "$REQUIRE_SIGNATURE" == "yes" ]; then # this is the body of the message to be sent, so no indentation here MESSAGE_BODY="\ @@ -1806,6 +1806,7 @@ function EmailAdminTask { #+then, parse and process admin tasks # TODO: - parse commands # TODO: - call admin functions + # TODO: - email result back to sender command_list="`echo $DECRYPTED_MESSAGE`" else # message was sent by a normal subscriber |