/go/installdmarc: installdmarc from the Command Line

/go/installdmarc installs OpenDMARC, the service that evaluates incoming mail's DMARC alignment, and sets two directives in its configuration: The command does not start, enable, or restart the opendmarc service, and does not wire OpenDMARC into Postfix as a milter — see Details. The call is appended to /var/log/go/installdmarc.log. Every admin action in GoAdmio has a matching /go/ command, so anything you can click you can also script.

Quick start

/go/installdmarc
systemctl enable --now opendmarc

Options

None. Everything is derived from the server itself:

Input Where it comes from
Operating system /usr/local/goadmio/linux/os.db
Hostname used as TrustedAuthservIDs /etc/hostname

Examples

# Install and configure OpenDMARC, then start it
/go/installdmarc
systemctl enable --now opendmarc

# Check what was written
grep -E "AuthservID|TrustedAuthservIDs" /etc/opendmarc.conf

Output

Installing DMARC...

followed by whatever dnf or apt print for the install step. The removal step’s output is discarded.

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