Skip to content

Licensing, migration and limits

Why doesn’t my Enterprise license activate?

Section titled “Why doesn’t my Enterprise license activate?”

The license key and the server’s hostname name different domains. A license key is issued for a domain, and the server accepts it only when the registered domain of its own hostname, defaultHostname in SystemSettings, is that domain. The hosted mail domains are not compared, so hosting the licensed domain is not enough. A mismatch is reported as License issued to domain "<licensed domain>" does not match "<server domain>". See Activation problems.

No. Each customer receives a single license key, and every server whose hostname has the registered domain of the license accepts it. All servers of a deployment therefore use the same key. A separate key for each server is not needed, and it does not add mailboxes. See License keys and server hostnames.

Buy more mailbox licenses for the existing key. The licensing portal then issues an updated key with the higher mailbox count, which replaces the installed one in licenseKey. A second key would not help, because keys do not add up: the server holds a single key.

Install the updated key as soon as it is issued. Automatic renewal fetches a new key only in the last four days of the term, so without a manual installation the server would not pick up the updated key until then. See License keys and server hostnames.

What happens when the license expires or I cancel the subscription?

Section titled “What happens when the license expires or I cancel the subscription?”

The server keeps running as the Community edition on the same data. The two editions share one data format, so changing between them needs no data migration.

There is no grace period, and the Enterprise features stop at one of two moments. Features that the server checks each time they are used, such as SCIM, tenant administration and masked email, stop at the moment of expiry. The others, such as AI features, alerts and LDAP failover, stop when the configuration is next loaded, normally within an hour.

Nothing is lost in the meantime. Configuration and stored data are kept, and the features return once a valid key is installed. With an API key set, the server keeps retrying renewal after expiry and logs each failure as Enterprise license renewal failed, retrying. See License expiry.

Back up the data stores and config.json before every minor or major upgrade, and read the release notes. The backup matters because a newer release can write data that an older release cannot read.

In containers, choose the image tag with care. The v1 tag follows the 1.x releases, while latest also follows future major releases, so use v1. See Upgrading.

How do I migrate from Dovecot, Exchange, Gmail or another server?

Section titled “How do I migrate from Dovecot, Exchange, Gmail or another server?”

The migration section describes a procedure for each kind of source: Dovecot and Postfix, other IMAP servers, an earlier Stalwart version, and exports such as Google Takeout or Maildir. Hosted services such as Gmail and Microsoft 365 are covered in Migrating from hosted services.

Moving an existing Stalwart server to another database backend is a different task with its own procedure, Database migration. See Choosing a procedure.

Can I migrate without changing users’ passwords?

Section titled “Can I migrate without changing users’ passwords?”

Yes, when the source stores password hashes in a format Stalwart accepts. Such a hash is imported as given (Supported hash formats), so the migrated account keeps its password. Any other value is hashed as a clear-text password. Dovecot hashes need their scheme prefix adjusted first. See Creating the account on the new deployment.

Can milters or MTA hooks inspect outgoing mail?

Section titled “Can milters or MTA hooks inspect outgoing mail?”

Only during an SMTP session. Milters and MTA hooks are external filters, and they run at the stages of inbound sessions, which include authenticated submissions and JMAP submissions. Nothing runs when the queue later delivers a message to a remote server. To inspect the mail that users send, attach the filters to the stages of the submission listener. See Filters.

No. The IMAP greeting, Stalwart IMAP4rev2 at your service., is fixed. See IMAP and POP3.

Not with a built-in schedule, but the effect can be built by hand. Stalwart has no IP warm-up schedule. Outbound throttles keyed on the mail exchanger or the recipient domain can, however, limit the volume sent to each destination, and the administrator can raise these limits over time. See Exceeded throttles.

Does Redis Sentinel support TLS client certificates?

Section titled “Does Redis Sentinel support TLS client certificates?”

No. TLS client certificates are not supported for any Redis connection, and Sentinel connections are no exception. See Redis.