diff options
Diffstat (limited to 'include/tests_mail_messaging')
-rw-r--r-- | include/tests_mail_messaging | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/include/tests_mail_messaging b/include/tests_mail_messaging index 6157e671..c893f83a 100644 --- a/include/tests_mail_messaging +++ b/include/tests_mail_messaging @@ -155,6 +155,28 @@ # ################################################################################# # + # Test : MAIL-8820 + Register --test-no MAIL-8820 --weight L --network NO --category security --description "Postfix configuration scan" + if [ ${SKIPTEST} -eq 0 ]; then + if [ "$(postconf -h inet_interfaces 2> /dev/null)" = "all" ]; then + if ! SkipAtomicTest "${TEST_NO}:disable_vrfy_command"; then + if [ "$(postconf -h disable_vrfy_command 2> /dev/null)" = "no" ]; then + ReportSuggestion "${TEST_NO}:disable_vrfy_command" "Disable the 'VRFY' command" "disable_vrfy_command=no" "text:run postconf -e disable_vrfy_command=yes to change the value" + fi + fi + fi + + #FIND=$(${POSTCONFBINARY} 2> /dev/null | ${SEDBINARY} 's/ /:space:/g' | ${SEDBINARY} 's/ =$//') + #for line in ${FIND}; do + # line=$(echo ${line} | ${SEDBINARY} 's/:space:/ /g') + # key=$(echo ${line} | ${AWKBINARY} -F" = " '{print $1}') + # value=$(echo ${line} | ${AWKBINARY} -F" = " '{print $2}') + # #echo "Found key '${key}' with value '${value}'" + #done + fi +# +################################################################################# +# # Test : MAIL-8838 # Description : Check Dovecot process Register --test-no MAIL-8838 --weight L --network NO --category security --description "Check dovecot process" |