diff --git a/linux/CHANGELOG b/linux/CHANGELOG index 4aa498a..815dd50 100644 --- a/linux/CHANGELOG +++ b/linux/CHANGELOG @@ -15,6 +15,11 @@ and this project **does not adhere to [Semantic Versioning](http://semver.org/sp ### Security +## [23.04.01] 2023-04-07 + +### Fixed +* IS_POSTFIX_MYDESTINATION: fix regex not working (again). + ## [23.04] 2023-04-07 ### Changed diff --git a/linux/evocheck.jessie.sh b/linux/evocheck.jessie.sh index 6fb3d3d..05b5f8d 100755 --- a/linux/evocheck.jessie.sh +++ b/linux/evocheck.jessie.sh @@ -4,7 +4,7 @@ # Script to verify compliance of a Linux (Debian) server # powered by Evolix -VERSION="23.04" +VERSION="23.04.01" readonly VERSION # base functions diff --git a/linux/evocheck.sh b/linux/evocheck.sh index d907a54..5244198 100755 --- a/linux/evocheck.sh +++ b/linux/evocheck.sh @@ -4,7 +4,7 @@ # Script to verify compliance of a Linux (Debian) server # powered by Evolix -VERSION="23.04" +VERSION="23.04.01" readonly VERSION # base functions @@ -151,10 +151,10 @@ check_postfix_mydestination() { if ! grep mydestination /etc/postfix/main.cf | grep --quiet -E 'localhost([[:blank:]]|$)'; then failed "IS_POSTFIX_MYDESTINATION" "'localhost' s missing in Postfix mydestination option." fi - if ! grep mydestination /etc/postfix/main.cf | grep --quiet -E 'localhost.localdomain'; then + if ! grep mydestination /etc/postfix/main.cf | grep --quiet 'localhost\.localdomain'; then failed "IS_POSTFIX_MYDESTINATION" "'localhost.localdomain' is missing in Postfix mydestination option." fi - if ! grep mydestination /etc/postfix/main.cf | grep --quiet -E 'localhost.$mydomain'; then + if ! grep mydestination /etc/postfix/main.cf | grep --quiet 'localhost\.\$mydomain'; then failed "IS_POSTFIX_MYDESTINATION" "'localhost.\$mydomain' is missing in Postfix mydestination option." fi } diff --git a/linux/evocheck.wheezy.sh b/linux/evocheck.wheezy.sh index b9ac86e..461540b 100755 --- a/linux/evocheck.wheezy.sh +++ b/linux/evocheck.wheezy.sh @@ -4,7 +4,7 @@ # Script to verify compliance of a Linux (Debian) server # powered by Evolix -VERSION="23.04" +VERSION="23.04.01" readonly VERSION # base functions