/go/doveconf regenerates /etc/dovecot/dovecot.conf from scratch, using the settings GoAdmio needs for virtual mail accounts. It: The call is appended to /var/log/go/doveconf.log. The command re-runs itself with sudo when started by a non-root user. Every admin action in GoAdmio has a matching /go/ command, so anything you can click you can also script.
Quick start
/go/doveconf
systemctl restart dovecot
Options
None. The result depends on the server, not on the command line:
| Input | Where it comes from |
|---|---|
| Dovecot version | dovecot --version |
| Hostname | /etc/hostname |
| Operating system | /usr/local/goadmio/linux/os.db |
| Junk filter on or off | GoAdmio’s Config table (Junk) |
| Certificates | /etc/letsencrypt/live/ and /etc/postfix/ssl/ |
Examples
# Rebuild the configuration and apply it
/go/doveconf
systemctl restart dovecot
# Check that the generated file is valid
doveconf -n > /dev/null && echo OK
Output
The command prints nothing. Check the result yourself:
doveconf -n > /dev/null && echo OK
tail /var/log/dovecot.log
See the full reference at /go/doveconf 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.
