Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Boelen <michael.boelen@cisofy.com>2016-07-24 18:22:00 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2016-07-24 18:22:00 +0300
commit2f4c854ba7790d1c8fb8c664daea6c971f18aa72 (patch)
treec3eed34233a165d56df1173b3f08e047b47ae47e /include/tests_mail_messaging
parent0b5af4ed387ea0582181e56a56609c4a633cb91f (diff)
Rename of categories, introduction of groups
Diffstat (limited to 'include/tests_mail_messaging')
-rw-r--r--include/tests_mail_messaging16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/tests_mail_messaging b/include/tests_mail_messaging
index 7a9597ba..999f5251 100644
--- a/include/tests_mail_messaging
+++ b/include/tests_mail_messaging
@@ -38,7 +38,7 @@
#
# Test : MAIL-8802
# Description : Check Exim process status
- Register --test-no MAIL-8802 --weight L --network NO --description "Check Exim status"
+ Register --test-no MAIL-8802 --weight L --network NO --category security --description "Check Exim status"
if [ ${SKIPTEST} -eq 0 ]; then
LogText "Test: check Exim status"
IsRunning exim
@@ -58,7 +58,7 @@
# Test : MAIL-8814
# Description : Check Postfix process
# Notes : qmgr and pickup run under postfix uid, without full path to binary
- Register --test-no MAIL-8814 --weight L --network NO --description "Check postfix process status"
+ Register --test-no MAIL-8814 --weight L --network NO --category security --description "Check postfix process status"
if [ ${SKIPTEST} -eq 0 ]; then
LogText "Test: check Postfix status"
# Some other processes also use master, therefore it should include both master and postfix
@@ -81,7 +81,7 @@
# Test : MAIL-8816
# Description : Check Postfix configuration
if [ ${POSTFIX_RUNNING} -eq 1 -a ! "${POSTFIXBINARY}" = "" ]; then PREQS_MET="YES"; else PREQS_MET="NO"; fi
- Register --test-no MAIL-8816 --preqs-met ${PREQS_MET} --weight L --network NO --description "Check Postfix configuration"
+ Register --test-no MAIL-8816 --preqs-met ${PREQS_MET} --weight L --network NO --category security --description "Check Postfix configuration"
if [ ${SKIPTEST} -eq 0 ]; then
Display --indent 2 --text "- Checking Postfix configuration" --result "${STATUS_FOUND}" --color GREEN
POSTFIX_CONFIGDIR=`${POSTCONFBINARY} 2> /dev/null | grep '^config_directory' | awk '{ print $3 }'`
@@ -95,7 +95,7 @@
# Test : MAIL-8818
# Description : Check Postfix configuration
if [ ${POSTFIX_RUNNING} -eq 1 -a ! "${POSTFIXBINARY}" = "" ]; then PREQS_MET="YES"; else PREQS_MET="NO"; fi
- Register --test-no MAIL-8818 --preqs-met ${PREQS_MET} --weight L --network NO --description "Check Postfix configuration: banner"
+ Register --test-no MAIL-8818 --preqs-met ${PREQS_MET} --weight L --network NO --category security --description "Check Postfix configuration: banner"
if [ ${SKIPTEST} -eq 0 ]; then
LogText "Test: Checking Postfix banner"
FIND1=`${POSTCONFBINARY} 2> /dev/null | grep '^smtpd_banner' | grep 'postfix'`
@@ -125,7 +125,7 @@
#
# Test : MAIL-8838
# Description : Check Dovecot process
- Register --test-no MAIL-8838 --weight L --network NO --description "Check dovecot process"
+ Register --test-no MAIL-8838 --weight L --network NO --category security --description "Check dovecot process"
if [ ${SKIPTEST} -eq 0 ]; then
LogText "Test: check dovecot status"
IsRunning dovecot
@@ -145,7 +145,7 @@
#
# Test : MAIL-8860
# Description : Check Qmail process status
- Register --test-no MAIL-8860 --weight L --network NO --description "Check Qmail status"
+ Register --test-no MAIL-8860 --weight L --network NO --category security --description "Check Qmail status"
if [ ${SKIPTEST} -eq 0 ]; then
LogText "Test: check Qmail status"
IsRunning qmail-smtpd
@@ -164,7 +164,7 @@
#
# Test : MAIL-8880
# Description : Check Sendmail process status
- Register --test-no MAIL-8880 --weight L --network NO --description "Check Sendmail status"
+ Register --test-no MAIL-8880 --weight L --network NO --category security --description "Check Sendmail status"
if [ ${SKIPTEST} -eq 0 ]; then
LogText "Test: check sendmail status"
IsRunning sendmail
@@ -184,7 +184,7 @@
# Test : MAIL-8920
# Description : Check OpenSMTPD process status
if [ ! "${SMTPCTLBINARY}" = "" ]; then PREQS_MET="YES"; else PREQS_MET="NO"; fi
- Register --test-no MAIL-8920 --preqs-met ${PREQS_MET} --weight L --network NO --description "Check OpenSMTPD status"
+ Register --test-no MAIL-8920 --preqs-met ${PREQS_MET} --weight L --network NO --category security --description "Check OpenSMTPD status"
if [ ${SKIPTEST} -eq 0 ]; then
LogText "Test: check smtpd status"
FIND=`${PSBINARY} ax | egrep "(/smtpd|smtpd: \[priv\]|smtpd: smtp)" | grep -v "grep"`