/go/dmarc is a short wrapper around cloudflare. It adds the DMARC TXT record that tells receiving mail servers what to do with messages that fail SPF or DKIM checks. It can: The call is appended to /var/log/go/dmarc.log. Every admin action in GoAdmio has a matching /go/ command, so anything you can click you can also script.
Quick start
# Add the auto-generated DMARC record for a domain
/go/dmarc example.com
Options
dmarc takes positional arguments only.
| Argument | Required | Notes |
|---|---|---|
<domain> |
Yes | The full domain name, as hosted on Cloudflare. |
[value] |
No | The DMARC policy string. Replaces the auto-generated value. |
The arguments are passed to cloudflare without quotes, so a value containing spaces (such as v=DMARC1; p=none; rua=mailto:...) is split into several arguments and may be rejected or truncated. Write the value without spaces.
Examples
# Auto-generated DMARC record
/go/dmarc example.com
# Custom policy, written without spaces
/go/dmarc example.com 'v=DMARC1;p=none;rua=mailto:dmarc@example.com'
Output
dmarc prints nothing itself. Any result or error message comes from cloudflare.
See the full reference at /go/dmarc 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.
