Mod:Postfix Fixed oopsie
This commit is contained in:
@@ -69,14 +69,14 @@ curl --retry 7 --retry-delay 5 -s "$repo"/raw/"$branchtype"/"$branch"/SubModules
|
||||
sed -i -e 's/DOMAINname/'$hostname'/g' -e 's/SITEName/'host'/g' -e 's/ODKSec/'$odkhsec'/g' ~/OpenDKIMInit-host.sh
|
||||
unset odkhsec
|
||||
|
||||
/etc/update-motd.d/51-generalspf
|
||||
cat << EOF > test.sh
|
||||
|
||||
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 the folling ip's \"ip4:\$(curl -s -4 icanhazip.com) ip6:\$(curl -s -6 icanhazip.com)\" for $hostname"
|
||||
printf \$red Check Blacklist using the following url: "https://www.debouncer.com/blacklistlookup?t=$hostname"
|
||||
printf \n
|
||||
printf \$red "Check Blacklist using the following url: 'https://www.debouncer.com/blacklistlookup?t=$hostname'"
|
||||
printf "\n"
|
||||
printf \$red "Optionally, to enable DKIM for the hostname run bash ~/OpenDKIMInit-host.sh"
|
||||
printf \$red "remove notice this by running \"rm /etc/update-motd.d/51-generalspf\""
|
||||
printf "\n"
|
||||
|
||||
Reference in New Issue
Block a user