Linux - Release 23.04.01

This commit is contained in:
William Hirigoyen 2023-04-07 11:49:57 +02:00
parent 96ea77b345
commit ae797122ad
4 changed files with 10 additions and 5 deletions

View file

@ -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

View file

@ -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

View file

@ -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
}

View file

@ -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