if [ ! "${preinstalled}" -eq "0" ]; then
apt install -y opendkim-tools
fi
opendkim-genkey -s "${dkim_selector}"
if [ ! "${preinstalled}" -eq "0" ]; then
apt install -y opendkim-tools
fi
opendkim-genkey -s "${dkim_selector}"
if [ "${add_dkim_record}" -eq "1" ]; then
echo "TODO: Add the following DKIM entry to your DNS configuration (possibly with slightly changed host entry – if your mail domain includes a subdomain, append that with a dot):"
cat "${dkim_selector}.txt"
if [ "${add_dkim_record}" -eq "1" ]; then
echo "TODO: Add the following DKIM entry to your DNS configuration (possibly with slightly changed host entry – if your mail domain includes a subdomain, append that with a dot):"
cat "${dkim_selector}.txt"