GoAdmio Command Line: dkim with /go/dkim

/go/dkim is a short wrapper around cloudflare. It adds the DKIM TXT record that lets receiving mail servers verify messages sent from your domain. It can: The call is appended to /var/log/go/dkim.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 DKIM record for a domain
/go/dkim example.com

Options

dkim takes positional arguments only.

Argument Required Notes
<domain> Yes The full domain name, as hosted on Cloudflare.
[value] No The record value. Switches to the custom TXT form.

The arguments are passed to cloudflare without quotes, so a value containing spaces (such as v=DKIM1; k=rsa; p=...) is split into several arguments and may be rejected or truncated.

Examples

# Auto-generated DKIM record
/go/dkim example.com

# Custom value (value without spaces; see the notes above first)
/go/dkim example.com 'k=rsa;p=<public-key>'

Output

dkim prints nothing itself. Any result or error message comes from cloudflare.

See the full reference at /go/dkim 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.

By:

Posted in:


Leave a Reply

Your email address will not be published. Required fields are marked *