/go/zoho: zoho from the Command Line

/go/zoho prepares a domain's DNS for Zoho Mail, so the domain can send and receive email through Zoho instead of through this server. It adds the DNS records Zoho needs, through the Cloudflare API: It is a shortcut for the zoho action of cloudflare: it runs /go/cloudflare –domain <domain> –action zoho for you. The records themselves are written by that action, so see cloudflare for the exact record details. Every admin action in GoAdmio has a matching /go/ command, so anything you can click you can also script.

Quick start

# Add the Zoho Mail DNS records for a domain
/go/zoho example.com

Options

Argument Required Notes
domain Yes A domain in your Cloudflare account. The value is passed straight to cloudflare --domain, with no checks of its own.

Examples

# Add the Zoho Mail DNS records for a domain
/go/zoho example.com

# The same thing, written out
/go/cloudflare --domain example.com --action zoho

Output

/go/zoho prints nothing itself. You see whatever cloudflare prints for the zoho action, and the command’s exit status is the status of that command.

Log

Each run appends one line to /var/log/go/zoho.log:

[Nov 21 12:00:00]# zoho example.com

See the full reference at /go/zoho 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 *