Mail Server

Updated 14 Nov 2026 Published

Mail Server

The Mail Server app turns your VinzaPanel server into a complete email host: Postfix sends and receives mail, Dovecot lets people read it over IMAP or POP3, and Rspamd filters spam. Webmail is included (SnappyMail by default, Roundcube as an alternative). Mailboxes are virtual — they are not Linux accounts.

The app is included with the paid plans; on the Free plan it is available as an add-on in the Vinza Store. See Pricing.

Install the Mail Server

  1. Click Vinza Store in the top bar, find Mail Server (Postfix + Dovecot) and click Install.
  2. The installer sets up Postfix, Dovecot, Rspamd and PHP for webmail, creates the vmail system user and a MariaDB database for mail accounts, and generates DKIM keys. This takes a few minutes.
  3. Open it from Server → Mail Server (/apps/mail-server/). The page is titled Email Server.
Note

Before you start, set the server's identity (domain) in Panel Settings → Identity → Server Identity. The mail hostname (HELO), for example mail.example.com, is taken from it.

Step 1: Enable email for a domain

Email domains follow your panel domains: a domain is added to Domains automatically when you create a website, or you add it there yourself. On the Mail Server page you only switch email on and manage its DNS.

  1. Open the Domains tab (administrators).
  2. Click Enable email next to the domain.
  3. The panel writes the MX, A, SPF, DKIM and DMARC records, plus the autoconfig/autodiscover records that let mail clients set themselves up. If the domain's DNS zone is managed in the panel they are added automatically; otherwise click DNS to see the records and add them at your DNS provider.

Email Server Domains tab listing mail-enabled domains with their DNS buttons and the deliverability summary

Use Regenerate DNS (or Regenerate all DNS) after changing the DMARC policy or the mail hostname. It first shows what it would add or change and asks before writing. Records a domain already has are merged, not overwritten: an MX that resolves is kept, an SPF keeps its own include: mechanisms and only gains the mail server's IP, and a DMARC record keeps its tags and is never lowered. When another DNS host answers for the zone and the panel's copy differs from what is published, nothing is written and the page shows the differences. The DMARC policy for new records is set in the Domains tab: start with none (monitor), then move to quarantine or reject once SPF and DKIM pass.

Disable email removes all mailboxes and aliases of the domain; the domain itself stays in Domains.

Use an external mail provider

The Use an external mail provider (DNS only) card in the Domains tab routes a domain's mail to Google Workspace, Microsoft 365 or Zoho instead of local mailboxes. Pick the domain and the provider and click Apply. The panel writes MX/SPF/DMARC; add the provider's DKIM afterwards.

Step 2: Create mailboxes and aliases

  1. Open the Mailboxes tab.
  2. Enter the mailbox name, pick the domain, set a password of at least 8 characters (Suggest a strong password generates one) and a quota in MB, then click Add Mailbox.
  3. To change a password or quota later, use Edit on the mailbox.

Each mailbox row also has buttons for:

  • Setup — the IMAP, POP3 and SMTP settings for a mail client.
  • Webmail — opens that inbox in webmail without a password.
  • Autoresponder — an out-of-office reply with a subject, message, optional start and end dates and how often the same sender is answered (Reply to a sender every (days)). Administrators and the owner of the domain can set it.
  • Sending limit — what the mailbox sent in the last hour and 24 hours, and (administrators) a per-mailbox limit per hour and per day.
  • Import mail from another server — copies every folder of a mailbox on another IMAP server into this one (imapsync) as a background job with progress, log and cancel. Mail already here is kept, a second run copies only what is new, and the source password is not stored.

In the Aliases tab, Add Alias forwards one address to one or more destinations (one per line or comma-separated). Leave From blank for a catch-all alias of the domain; it does not take mail for mailboxes that exist. An address can have only one alias — edit it to add destinations. An alias's destinations can be edited; its source address cannot — delete the alias and add a new one instead.

Mailbox quotas and the number of email accounts follow the owner's hosting plan. Website owners see only their own domains' mailboxes, aliases and queue entries; on a website's page, the Email quick tool opens the Mail Server filtered to that domain.

Step 3: Connect a mail client or use webmail

Thunderbird and Outlook can configure themselves from the email address alone (autoconfig and autodiscover). For other clients, the Setup button on a mailbox shows the IMAP, POP3 and SMTP settings for Outlook, Thunderbird or a phone.

ServicePortSecurity
IMAP (incoming)993SSL/TLS
POP3 (incoming)995SSL/TLS
SMTP (outgoing)587STARTTLS
SMTP (outgoing)465SSL/TLS

The username is the full email address. IMAP keeps mail on the server and is the best choice for several devices.

Webmail is served at /vinzamail/ on your server's hostnames (for example https://example.com/vinzamail/). Click Open Webmail in the header. The per-mailbox Webmail button signs straight into that inbox without a password, with SnappyMail and with Roundcube; the one-time sign-in link works once.

  • Switch the webmail engine (SnappyMail or Roundcube) from the selector in the page header.
  • Change the address with Webmail address. The path works on every domain on the server, so choose one your websites don't use. With Keep old /webmail/ links working, old /webmail/ links redirect to the new address.
  • Enable trusted HTTPS serves webmail with your panel domain's Let's Encrypt certificate.
  • Restart Webmail restarts the webmail PHP server, for example after a PHP change.
  • Per website you can stop serving webmail and phpMyAdmin under its domain (Edit → Panel web apps on this site).

Settings (administrators)

SettingWhat it does
Mail server roleWhich server runs mail for the whole cluster: the panel host or one Vinza Server node. See Moving mail between servers below.
Sending limitsDefault per hour and Default per day for every mailbox (authenticated SMTP, webmail included); 0 = no limit. Over the limit, further mail is deferred until the window passes and the mailbox's owner and the administrators get an alert — usually the first sign of a stolen password. Per-mailbox overrides are set with the Sending limit button.
ManageSieve (port 4190)Lets mail clients edit their own Sieve filters. Off by default; autoresponders work without it. Turning it on opens TCP 4190 in the firewall.
Postfix · TLS CertificateEnable Let's Encrypt TLS for the mail hostname. The hostname must already point (A record) to this server and port 80 must be reachable. The certificate renews with the others and reloads Postfix and Dovecot.
Postfix · Outbound Relay (smarthost)Send outgoing mail through another SMTP server (your ISP, SendGrid, Mailgun…) — relay host, port (usually 587 or 465), username and password. The password is stored encrypted and never shown again. The card suggests the SPF include of known providers and can Send test email through the relay. Strongly recommended when port 25 is blocked or the IP has a poor reputation.
Dovecot · IMAP/POP3 SettingsRequire encrypted login, Connection encryption (allow or require TLS — set up the TLS certificate before choosing Required) and the maximum connections per user per IP (10 suits most setups).
Adaptive Spam FilteringBayesian learning and greylisting in Rspamd. Requires the Redis app.
Backup & Restore / MigrateExport one mail domain to a file, or restore it here.

The Services tab shows the status of the mail services with start, stop and restart. The Queue tab lists waiting messages; you can retry, hold, release or delete them, flush the queue, or delete all deferred mail. Administrators also see the mail log there. The Security tab summarises the protection that is configured automatically.

Deliverability Doctor

In the Settings tab, find Deliverability Doctor, enter your Email domain (the part after @, not the mail hostname) and click Run check. It checks:

Deliverability Doctor results for a domain, checking PTR, port 25, Spamhaus, SPF, DKIM and DMARC

  • Reverse DNS (PTR) — must match the mail hostname. PTR is set at your VPS provider, not in the panel; the doctor tells you exactly what to set.
  • Outbound port 25 — many clouds block it. If it is blocked, configure an Outbound Relay.
  • Spamhaus listing of the server IP.
  • The live SPF, DKIM and DMARC records of the domain.

Administrators also see a Deliverability at a glance banner at the top of the page with the outbound port 25 and reverse DNS results (it can be dismissed for 24 hours).

Use Send Test Email to an external address you control (for example Gmail) and check both the inbox and the spam folder. Send from a domain whose SPF and DKIM are set up.

Warning

A missing or mismatched PTR record is the most common reason mail is rejected or lands in spam. A new IP also needs time to build reputation — never use it for bulk mail.

Firewall ports

Mail needs ports 25, 465 and 587 (SMTP) and 993 and 995 (IMAPS/POP3S); 4190 only if you turn on ManageSieve. Also open them in your cloud provider's firewall or security group.

Moving mail between servers

  • One domain to another panel: Backup & Restore / Migrate exports one mail domain — accounts, aliases and the mail itself — to a file. Use Download backup on the source server and Restore from file on the target.
  • One mailbox from another provider: use Import mail from another server on the mailbox (IMAP).
  • The whole mail server to a node: with Vinza Server nodes connected, open Settings → Mail server role, choose the target in Move the mail server to, click Check, then Move mail server. The panel installs the mail stack on the target and copies every maildir, mailbox (with its password hash), alias, quota, DKIM key and webmail setting. New mail is held in the queue during the final copy (nothing bounces), then the role switches and the DNS records of every mail domain point at the new server; for zones this panel does not serve, the records to copy are shown. The old server forwards any mail that still reaches it. A move that fails before the switch puts the old server back into service and can be retried.
On this page