forked from evolix/evocheck
Linux - Release 23.04.01
This commit is contained in:
parent
96ea77b345
commit
ae797122ad
|
@ -15,6 +15,11 @@ and this project **does not adhere to [Semantic Versioning](http://semver.org/sp
|
||||||
|
|
||||||
### Security
|
### Security
|
||||||
|
|
||||||
|
## [23.04.01] 2023-04-07
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
* IS_POSTFIX_MYDESTINATION: fix regex not working (again).
|
||||||
|
|
||||||
## [23.04] 2023-04-07
|
## [23.04] 2023-04-07
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# Script to verify compliance of a Linux (Debian) server
|
# Script to verify compliance of a Linux (Debian) server
|
||||||
# powered by Evolix
|
# powered by Evolix
|
||||||
|
|
||||||
VERSION="23.04"
|
VERSION="23.04.01"
|
||||||
readonly VERSION
|
readonly VERSION
|
||||||
|
|
||||||
# base functions
|
# base functions
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# Script to verify compliance of a Linux (Debian) server
|
# Script to verify compliance of a Linux (Debian) server
|
||||||
# powered by Evolix
|
# powered by Evolix
|
||||||
|
|
||||||
VERSION="23.04"
|
VERSION="23.04.01"
|
||||||
readonly VERSION
|
readonly VERSION
|
||||||
|
|
||||||
# base functions
|
# base functions
|
||||||
|
@ -151,10 +151,10 @@ check_postfix_mydestination() {
|
||||||
if ! grep mydestination /etc/postfix/main.cf | grep --quiet -E 'localhost([[:blank:]]|$)'; then
|
if ! grep mydestination /etc/postfix/main.cf | grep --quiet -E 'localhost([[:blank:]]|$)'; then
|
||||||
failed "IS_POSTFIX_MYDESTINATION" "'localhost' s missing in Postfix mydestination option."
|
failed "IS_POSTFIX_MYDESTINATION" "'localhost' s missing in Postfix mydestination option."
|
||||||
fi
|
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."
|
failed "IS_POSTFIX_MYDESTINATION" "'localhost.localdomain' is missing in Postfix mydestination option."
|
||||||
fi
|
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."
|
failed "IS_POSTFIX_MYDESTINATION" "'localhost.\$mydomain' is missing in Postfix mydestination option."
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# Script to verify compliance of a Linux (Debian) server
|
# Script to verify compliance of a Linux (Debian) server
|
||||||
# powered by Evolix
|
# powered by Evolix
|
||||||
|
|
||||||
VERSION="23.04"
|
VERSION="23.04.01"
|
||||||
readonly VERSION
|
readonly VERSION
|
||||||
|
|
||||||
# base functions
|
# base functions
|
||||||
|
|
Loading…
Reference in a new issue