DKIM signs outgoing mail so that other servers can confirm it really came from your domain. Mail is signed with a private key on this server, and the matching public key must be published in the domain's DNS. /go/checkdkim verifies that this is set up correctly. It checks: You can check one domain or every hosted domain. Every admin action in GoAdmio has a matching /go/ command, so anything you can click you can also script.
Quick start
# Check one domain
/go/checkdkim example.com
# Check every hosted domain
/go/checkdkim
Options
| Argument | What it does |
|---|---|
<domain> |
Checks that domain. |
| (none) | Checks every domain in /home that has a www folder, and prints a line of dashes after each one. |
A domain without a /home/<domain>/www folder prints nothing. The DKIM selector is always dkim, so the DNS name checked is dkim._domainkey.<domain>.
Examples
# One domain
/go/checkdkim example.com
example.com DKIM: Pass
# Show only the domains that have a problem
/go/checkdkim | grep -E 'None|Invalid'
# Look at the DNS record yourself
dig TXT dkim._domainkey.example.com +short
Output
The command prints one line for each domain:
| Result | Meaning |
|---|---|
example.com DKIM: Pass |
The key test succeeded and the public key in DNS matches the one on this server. |
example.com DKIM: Invalid |
The key test succeeded, but the public key in DNS is different from the one on this server. |
example.com DKIM: None |
The key test did not succeed. The DNS record is missing, cannot be read, or does not match the private key. |
Each run also adds a line to /var/log/go/checkdkim.log.
See the full reference at /go/checkdkim and the GoAdmio command index.
GoAdmio is free and open source, with no license fees and no account limits. Read the GoAdmio docs, or see why it is a free cPanel alternative at goadmio.com.
