diff --git a/include/tests_mail_messaging b/include/tests_mail_messaging index 61d9dc9e..fdbd2e06 100644 --- a/include/tests_mail_messaging +++ b/include/tests_mail_messaging @@ -226,7 +226,7 @@ Register --test-no MAIL-8920 --preqs-met ${PREQS_MET} --weight L --network NO --description "Check OpenSMTPD status" if [ ${SKIPTEST} -eq 0 ]; then logtext "Test: check smtpd status" - FIND=`${PSBINARY} ax | grep "/smtpd" | grep -v "grep"` + FIND=`${PSBINARY} ax | egrep "(/smtpd|smtpd: smtp)" | grep -v "grep"` if [ ! "${FIND}" = "" ]; then logtext "Result: found running smtpd process" Display --indent 2 --text "- Checking OpenSMTPD status" --result RUNNING --color GREEN