GoAdmio

email

Change the administrator email address GoAdmio uses for server notifications

On this page: Overview · Quick start · Syntax · Options · Output · Examples · Troubleshooting · Details · See also


Overview

/go/email changes the server's main contact email, the administrator address stored in GoAdmio's configuration. GoAdmio's scripts read it when they need to reach the server's administrator. It checks that the address is well formed and saves it.

It does not change the email address of any hosting account. For that, see contact.

The call, including the address, is appended to /var/log/go/email.log.


Quick start

/go/email admin@example.com

Syntax

/go/email <email>

Options

Argument Required Notes
<email> Yes A single address in the form name@domain.tld. See Validation.

Output

Outcome Output
Address saved Admin Email has been changed to <email>
Address malformed or missing Invalid Email <value>. (exit status 1, nothing saved)

Examples

# Change the administrator email
/go/email admin@example.com
# Check the saved value
sudo sqlite3 /var/lib/sqlite/config.db "select AdminEmail from Config"

Troubleshooting

Symptom Likely cause Fix
Invalid Email . No address was passed. Pass the address as the first argument.
Invalid Email <value>. The address doesn't match the accepted format. See Validation.
Confirmation shown but the old address is still used The database update failed; the confirmation is printed either way. Check the saved value with the sqlite3 command above.

Details

Validation

The address must match this pattern:

Part Rule
Before @ Letters, numbers, and the characters . _ % + -
After @ Letters, numbers, dots, and hyphens, ending in a dot and at least two letters

Names with quotes, spaces, or non-English characters are rejected.

What it changes

The command updates AdminEmail in the Config table of /var/lib/sqlite/config.db. Nothing else changes, no confirmation email is sent, and no service is restarted.


See also

Command Description
contact Manage GoAdmio account contact details
config Show or edit the server's GoAdmio configuration
hostname Change the hostname in GoAdmio
expire Check hosting and domain expiry dates and send email/WhatsApp notifications