All help articles

The SaaS admin panel

The admin panel at https://<your-host>/admin is where the people who run Zappocity manage every customer: tenants, their domains, mailboxes and aliases, plans, shared domains and signup. It uses the same /v1 API as VaultDrop, so anything the panel does can also be scripted.

Administrators are separate from mail accounts. A customer's owner or admin cannot sign in here, and an administrator has no mailbox unless you also create one.

Create the first administrator

On a server installed with make install (see Install on a server):

sudo make admin EMAIL=ops@example.com

That runs corpsuited set-admin as the service user with the service's settings. Anywhere else, run it yourself with the same CORPSUITE_* settings the server uses:

corpsuited set-admin ops@example.com "Operations"

It asks for a password (at least 12 characters; nothing is shown as you type). In a script, pipe the password in on standard input instead of putting it on the command line:

corpsuited set-admin ops@example.com < /path/to/password-file

Running it again for the same address sets a new password, re-enables the administrator and signs out all of its sessions. To remove someone's access:

corpsuited disable-admin ops@example.com

That signs them out everywhere at once.

Signing in

Open /admin and sign in with the email and password you set. Sessions last 12 hours and end after one hour without use. Sign out ends the session on the server, not only in your browser.

Five wrong passwords for one administrator, or from one network address, within 15 minutes block further tries until the 15 minutes are up. Every sign-in, failed sign-in and change made in the panel is written to the server log with the administrator's address.

Two panels: Zappocity and Mailocity

The admin panel is two panels, each with its own address:

Each links to the other at the bottom of its menu, and a page of one asked for on the other's host opens on the right host (you sign in once per host, or with single sign-on). With no Zappocity host set, one address shows both and the link switches between them.

What each page does

Zappocity panel

Mailocity panel

The domain admin panel for customers' tenant admins (/manage) is unchanged: it keeps everything about its tenant in one place.

In tables, a row's first action (such as Edit) is a button and the rest are under More, so wide tables do not scroll sideways; Escape or a click elsewhere closes the menu.

Not in the panel yet: tenant and domain Sieve rules, mailboxes' filters and vacation replies, and managing administrators (use the commands above). They are in the API today; see api/openapi.yaml.

The signup page

The public signup page is at /signup, linked from the homepage. It shows the plans and shared domains you have offered and creates the account. When signup is closed, or nothing is offered, it says so. See Plans, free mail and signup for what each switch does.

How the panel is protected