diff options
-rwxr-xr-x | postfix/postfix.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/postfix/postfix.sh b/postfix/postfix.sh index 2aca3e7..9ac1d0e 100755 --- a/postfix/postfix.sh +++ b/postfix/postfix.sh @@ -44,7 +44,7 @@ configdirs='/etc/local /etc/local-ORG /etc/local-REDPILL /etc/local-COMMON' confdir='/etc/postfix' postconf=/usr/sbin/postconf sp='[[:space:]]' -pf23="$($postconf -d mail_version | grep -Po '= \K([3-9]|2\.[3-9])(\.[0-9])*$')" +pf23="$($postconf -d mail_version | grep -Po '= \K([3-9]|2\.([3-9]|1\d+))(\.[0-9])*$')" if ! [ -d "$realmsdir" ]; then warn "Realms directory \"$realmsdir\" does not exist." fi |