Fixed Fail2Ban for centos

This commit is contained in:
2020-12-09 21:35:01 +01:00
parent d6cebfefb2
commit 9e9211c475
10 changed files with 38 additions and 12 deletions

View File

@@ -7,5 +7,7 @@ if [ -z "${domain}" ]; then
fi
fi
debconf-set-selections <<< "postfix postfix/mailname string $domain"
debconf-set-selections <<< "postfix postfix/main_mailer_type string 'Internet Site'"
if [ "$shortdist" = "ubu1804" ] || [ "$osrel" = "ubu2004" ] || [ "$osrel" = "deb10" ] ; then
debconf-set-selections <<< "postfix postfix/mailname string $domain"
debconf-set-selections <<< "postfix postfix/main_mailer_type string 'Internet Site'"
fi