mirror of
https://git.myvelabs.com/docker/myvemail.git
synced 2025-12-18 10:56:18 +00:00
First commit
This commit is contained in:
commit
7b58f82156
21 changed files with 1951 additions and 0 deletions
10
build/run/bin/list-dkim
Executable file
10
build/run/bin/list-dkim
Executable file
|
|
@ -0,0 +1,10 @@
|
|||
#!/usr/bin/env bash
|
||||
for domain in /etc/opendkim/keys/*/default.txt
|
||||
do
|
||||
# In your DNS manager, create a TXT record, enter default._domainkey in the name field
|
||||
echo -e "\n\e[1;34mUpdate DKIM TXT on DNS registrar and press any key to continue\e[5m...\e[0m"
|
||||
echo -e "\e[3m# Use default._domainkey in the host field"
|
||||
echo -e "# Check with 'opendkim-testkey -d ${domain} -s default'"
|
||||
echo -e "# Or visit https://www.dmarcanalyzer.com/dkim/dkim-checker/\e[0m"
|
||||
cat ${domain} | sed 's/.*( //' | sed 's/ ).*//' | sed 's/"//g' | sed 's/^[ \t]*//g' | sed ':a;N;$!ba;s/\n//g'
|
||||
done
|
||||
Loading…
Add table
Add a link
Reference in a new issue