Skip to content

Your First Domain

After installing Vectis Mail, open the admin URL in your browser. The Setup Wizard will walk you through five steps: add domain → DNS records → verify → create mailbox → deliverability review.

  1. Log in to the admin UI with the credentials from the install banner.
  2. Add your domain in the Setup Wizard.
  3. Publish DNS records (MX, SPF, DKIM, DMARC).
  4. Verify domain ownership with the verification TXT record.
  5. Create your first mailbox for the new domain.
  6. Deliverability review with a free GlockApps test.
  7. Connect your mail app with the IMAP / SMTP settings the wizard prints.

Navigate to https://your-hostname/admin and sign in with the admin email and password printed at the end of vectis install.

Vectis Mail admin login screen

If you lost the admin password, see Lost the admin password? on the install page.

On first login the wizard opens automatically. Each step lights up as you complete it, with a ✓ once done.

Enter the mail domain you want to use (e.g. example.com if you want addresses like [email protected]). This is the domain that appears to the right of the @ in your email addresses, not the hostname of the server itself.

Step 1: Add Your Domain form with a blank domain field

Click Create Domain. Vectis generates a fresh DKIM key pair for the domain and advances you to step 2.

The wizard shows every record you need to add at your domain’s DNS provider (registrar or Cloudflare, depending on where your nameservers point). Each block has a Copy Value button.

Step 2: DNS records — MX, SPF, DKIM, DMARC, and Verification TXT — with Copy Value buttons

RecordPurposeRequired?
MXWhere to deliver mail for this domainrequired
SPFWhich servers are allowed to send as this domainrequired
DKIMPublic half of the signing key (validates message integrity)required
DMARCPolicy for receivers when SPF/DKIM failrecommended
Verification TXTProves you own the domain before Vectis will send from itrequired

DNS changes typically propagate in under a minute at Cloudflare, but up to 24 hours at slower providers. Once all five records are live, click Continue to Verification.

Vectis queries your DNS for the vectis-verify=… TXT record. If it finds a match, verification passes and the wizard jumps to step 4.

Step 3: Verify Domain Ownership screen with Verify Now button

If the TXT record hasn’t propagated yet, you’ll see an error — wait 30 seconds and click Verify Now again. You can also step back to review the record value.

Fill in a username (the local part of the address), a password (minimum 12 chars with letters + numbers — use the Generate button for a strong random one), and an optional display name. Default quota is 1024 MB.

Step 4: Create Your First Mailbox form

A welcome email with the connection details gets delivered to the new mailbox on creation. Click Create Mailbox to continue.

The wizard runs six live checks against your domain: MX, SPF, DKIM, DMARC, Verification, and PTR. Every one should show pass for reliable delivery to Gmail, Outlook, and friends.

Step 5: Deliverability Review with 6/6 checks passing plus Connect Your Mail App and Setup Complete panels

If any check shows fail, click into it for the specific record Vectis expected versus what it found. The most common cause is DNS propagation lag — click Refresh after a minute.

On the same page, the Connect Your Mail App panel shows the exact settings for Outlook, Apple Mail, Thunderbird, or any IMAP/SMTP client.

Connect Your Mail App panel with IMAP/POP3/SMTP settings

SettingValue
Username[email protected] (the full mailbox address)
PasswordWhatever you set in step 4
IncomingYour Vectis host, port 993 (IMAP) or 995 (POP3)
OutgoingYour Vectis host, port 465 (SSL) or 587 (STARTTLS)
AuthenticationRequired, same username/password for all three

Use IMAP unless you have a specific reason not to. IMAP keeps mail in sync across devices; POP3 downloads to one device only.

Click Copy All Settings to grab everything as plain text to share with users.

Once the banner turns green, your server is ready.

Setup Complete! Your mail server is fully configured and ready to send and receive email.

You can send a test email from any IMAP client configured with the settings above, or use the API (see below).

After the wizard, the left-hand nav gives you access to every aspect of the server.

Live system health — container status, domain counts, pending config reloads.

Dashboard showing system status healthy, 1 domain, postgres and valkey services healthy

Every mail domain you’ve added, with verification state, DKIM selector, and creation date. Delete from here (mailboxes must be removed first).

Domains page listing sysadmin1001.com as verified with DKIM configured

All mailboxes, filtered by domain. From here you can view each user’s mailbox (as an admin), reset their password, or delete the account.

Mailboxes page listing john.doe@sysadmin1001.com with View as User, Reset Password, and Delete actions

If you’d rather script it or integrate with your own tooling, every wizard action is also available via CLI and API.

Terminal window
# Add a domain
vectis domain add example.com
# Create a mailbox (password prompted interactively)
vectis mailbox add [email protected]
# Verify domain ownership
vectis domain verify example.com
Terminal window
# Add a domain
curl -X POST https://your-hostname/api/v1/domains \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name": "example.com"}'
# Create a mailbox
curl -X POST https://your-hostname/api/v1/mailboxes \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"domain_id": "DOMAIN_UUID",
"local_part": "hello",
"password": "a-strong-password",
"display_name": "Hello World"
}'
# Send a test email
curl -X POST https://your-hostname/api/v1/send \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"from": {"email": "[email protected]", "name": "Test"},
"to": [{"email": "[email protected]"}],
"subject": "Hello from Vectis Mail",
"text_body": "If you receive this, your mail server is working!"
}'