Mod:Postfix fixed PHP cfg Update & motd warn msgs
This commit is contained in:
@@ -69,16 +69,16 @@ sed -i -e 's/DOMAINname/'$hostname'/' -e 's/SITEName/'host'/' -e 's/vps/'$odksec
|
||||
unset odksec
|
||||
|
||||
|
||||
cat << EOF > /etc/update-motd.d/51-generalSPF
|
||||
cat << EOF > /etc/update-motd.d/51-generalspf
|
||||
#!/bin/sh
|
||||
red='\e[1;31m%s\e[0m\n'
|
||||
printf "\n"
|
||||
printf \$red "To enable mail for this server add \"ip4:\$(curl -s -4 icanhazip.com) ip6:\$(curl -s -6 icanhazip.com)\" to $hostname SPF"
|
||||
printf \$red "to enable DKKIM for the hostname run bash ~/OpenDKIMInit-host.sh"
|
||||
printf \$red "remove notice this by running \"rm /etc/update-motd.d/51-generalSPF\""
|
||||
printf \$red "remove notice this by running \"rm /etc/update-motd.d/51-generalspf\""
|
||||
printf "\n"
|
||||
EOF
|
||||
chmod +x /etc/update-motd.d/51-generalSPF
|
||||
chmod +x /etc/update-motd.d/51-generalspf
|
||||
|
||||
systemctl start postfix opendkim
|
||||
systemctl enable postfix opendkim
|
||||
|
||||
Reference in New Issue
Block a user