Fixed Fail2Ban for centos
This commit is contained in:
@@ -13,4 +13,6 @@ root: $email
|
||||
EOF
|
||||
newaliases
|
||||
|
||||
systemctl reload postfix postfix@-
|
||||
systemctl start postfix
|
||||
systemctl enable postfix
|
||||
systemctl reload postfix
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user