Email Migration

Export Stalwart to PST from a running server or from an old copy

Leena Taylor Paul By Updated November 14, 2026 8 min read

Quick Answer

Stalwart to PST has no server export. The Vandelay tool never makes a PST either. Use Outlook over IMAP for each mailbox when the server is up. If the server won't start or the data store is too old, convert a RocksDB or SQLite copy of it on Windows.

After the 1.0 upgrade your server refuses data stores from earlier versions, so keep a copy of your old data store.

If you ask Stalwart for a PST file, you will not find a setting that makes one, because Stalwart keeps your mail in a data store and a blob store that Outlook can't open. The storage backends page, the Stalwart 1.0 release post and the Vandelay post don't name PST as an output either.

You still have two ways to reach Outlook. The first is to connect Outlook over IMAP and export each mailbox, which works while the server is up. The second is a Windows converter that opens a copy of a RocksDB or SQLite database and saves each account as a PST.

Vandelay, Stalwart's own migration tool, can copy a mailbox into a local archive, but its output goes to another JMAP server and not to PST. If your server still starts and you have a few users, Outlook is the quickest way. If your data store won't open after an upgrade, the converter is usually the only way that still works.

Your quickest way depends on your database and your version
  • If your server still starts and you have two or three users, add each mailbox to Outlook through IMAP and export it, since the Import/Export wizard is part of Outlook.
  • If your server refuses your old data store after the 1.0 upgrade, keep it unchanged and convert a copy of it on Windows, so that nothing in the original changes.
  • If your data store is PostgreSQL or MySQL, use Outlook over IMAP, because the converter reads RocksDB and SQLite copies only.

Why Is Stalwart to PST Not Part of the Server?

Your Stalwart server supports several databases for its data store: RocksDB, SQLite, PostgreSQL, MySQL or MariaDB and FoundationDB. The blob store can use some of the same databases or an S3-compatible service or the filesystem. Because RocksDB and SQLite keep blobs inside the data store, one copy of either covers your mail and its attachments.

None of these databases is a mailbox file that Outlook can open. The storage page also says that changing the data or blob store doesn't move existing data, which tells you that the data store is the master copy of your mail and not an export format. A PST has to come from a reader that understands the data store. It can also come from a client that signs in over IMAP, which is the simplest way to try first.

Who Asks for Stalwart Mail as PST Files?

Stalwart admins ask for PST files in four situations. Each one starts the export from a different place.

Which of these describes your server?
  • An admin after an upgrade Your Stalwart 1.0 server refuses data stores that earlier versions created.
  • A team moving to Outlook Your new system takes a PST import and an IMAP sync would be slow.
  • A home server owner closing a server You want one file for each family member before the machine goes offline.
  • A records officer You have to give a reviewer one mailbox in a format that Outlook opens.

Which Method Fits Your Stalwart to PST Export?

The table lists what each of the three methods needs from you and where it stops, because only two of them end in a PST.

MethodNeedsLimit
Outlook over IMAP Stalwart keeps serving mail while every mailbox is added to Outlook over IMAP Each account needs its own profile. Large mailboxes sync slowly at first
Vandelay You use a command line tool that copies one account into a local archive The archive goes to a JMAP server and not to PST
Windows converter You copy a RocksDB or SQLite database to a PC and mark the accounts to export as PST A database copy is required and the trial limit applies until you add a licence

I'd use Outlook when you have two or three accounts and a working server, because the wizard is quick and needs no extra software. However, if the server is down or the data store is too old for your version, that method will not work. Also, a data store in PostgreSQL or MySQL is outside what the converter can read, so for those databases IMAP stays the safer choice.

Check which data store your Stalwart server uses before you choose a method. A RocksDB or SQLite copy can be converted on Windows, while a PostgreSQL data store is better read over IMAP.

Nick Rogers, Founder of Univik
Nick Rogers
Founder, Univik
Making Windows software since 2013

Export Stalwart to PST Through Outlook in Five Steps

Outlook connects to Stalwart as an IMAP client, which is easy to set up, but each account needs its own address and password. If a mailbox is big, you should expect the first sync to take a while, because Outlook has to download every folder before it can export.

  1. Gather the sign-in details. Note your Stalwart hostname, the IMAP port and each mailbox password. The usual ports are 143 and 993 with SSL.
  2. Create the account in Outlook. Open classic Outlook and add an account through File and Add Account. Select manual setup and type in the IMAP host, port and password.
  3. Let every folder load. Let the folder list and the message counts settle. Microsoft says all your email should appear before you export, so a large mailbox may need hours.
  4. Start the wizard. Under File and Open & Export, select Import/Export. Choose Export to a file, move on and select Outlook Data File (.pst).
  5. Create the file. Select the Stalwart account and check Include subfolders. After you choose a location, select Finish. Once Outlook finishes, open the new file and compare its folder counts with your Stalwart mailbox.

Note: the new Outlook exports email only, according to Microsoft's export article. Calendars and contacts in your file require classic Outlook for Windows.

Does Vandelay Give You a PST?

No. Vandelay is Stalwart's one-shot command line tool for account migration and backup. It never creates PST. The Vandelay post is dated 29 May 2026. If you point it at an IMAP server, a Maildir++ folder or a Google Takeout file, it imports the mail into a local SQLite archive with one account in each archive. An export then sends that archive to a JMAP server.

Two features help a long transfer. A preview mode shows the full plan without saving anything and an interrupted import or export resumes where it stopped, so a long transfer needn't start over. Stalwart's post says that an archive can work as a per-account backup, but if your goal is Outlook an archive still needs another step before you can open the mail.

Convert a Copy of Your Stalwart Data Store to PST on Windows

Univik Stalwart Converter opens a copy of a RocksDB or SQLite database taken from the server, together with its blobs. The converter lists the accounts in the copy and saves every selected account to a separate PST file. Because the copy opens read-only, your original database stays unchanged while Stalwart stays switched off, which is the safe way to handle an old database you may still need.

Your live Stalwart server stays out of the process because only the copy is read.
  1. Find your database type. Check which data store and blob store your Stalwart configuration uses. If you see RocksDB or SQLite, a copy covers the blobs too.
  2. Copy the database. If you can, stop Stalwart first. Then copy the database folder or file to your Windows PC.
  3. Open the copy. Bring the copied database into the converter. A list shows every account it contains.
  4. Select accounts. Mark the accounts you want. A preview pane shows the message text before saving. A date range keeps the export small when you need recent mail only.
  5. Choose PST. Set PST as the format and name an output folder, then start the export. After the export, open one file in Outlook and match its folders against the preview list. A quick check now saves you a repeat export later.

Limitations: the trial exports 25 messages per folder, so try a single account before a full batch. I haven't timed a large Stalwart database, so there's no speed figure here. If your server uses PostgreSQL, MySQL or FoundationDB, you need another method, because the converter opens RocksDB and SQLite copies.

Turn a Stalwart database copy into PST files

A RocksDB or SQLite Stalwart database copy goes in and one PST for each selected account comes out on Windows.

Download Free Trial Select a Licence - From $999

Check one account in the trial and look at its folders in Outlook.

What If Your Store Won't Open?

1. The server refuses an older data store

Do this: The Stalwart 1.0 post says that data stores from earlier versions are rejected by a v1.0 server, which is the usual cause after an upgrade. Stalwart offers stalwart-migrate for v0.16.27 or later, but if you would rather keep the old data store unchanged, you can also convert a copy on Windows.

2. The converter finds no accounts

Do this: When the converter finds no accounts, check that you copied the blobs along with the data store. When the blobs live in a filesystem folder or in S3, copy that folder too.

3. Your data store is PostgreSQL or MySQL

Do this: Use Outlook over IMAP for those mailboxes. The converter reads RocksDB and SQLite copies only, so a quick check of your database type saves you a wasted copy.

If a mailbox still looks wrong, share your Stalwart version and the account name with Univik support.

Which Stalwart Pages Back This Guide?

I read four Stalwart pages on 14 November 2026: the storage backends page for the data and blob stores, the 1.0 post for the upgrade rule and the migration tools, the Vandelay post for the archive format and the preview mode. The Outlook wizard steps come from Microsoft's export article, but I have no timing for a large Stalwart database.

Key Takeaways
  • Stalwart keeps mail in a data store and a blob store. The pages I read never name PST as an output.
  • RocksDB and SQLite keep blobs in the data store, so one copy covers mail and attachments.
  • Vandelay creates per-account archives for JMAP servers and never creates PST.
  • Stores from earlier versions are rejected by a v1.0 server.
  • RocksDB and SQLite copies convert to one PST per account on Windows. Outlook over IMAP covers the other databases.

FAQ: Export Stalwart to PST

How do I export Stalwart to PST?

Connect each Stalwart mailbox to classic Outlook over IMAP, then use Import/Export to save an Outlook Data File (.pst). A RocksDB or SQLite database copy also works in a Windows converter.

Does Stalwart have a PST export?

None of the Stalwart pages I read names PST as an output. Stalwart's Vandelay tool copies accounts into a local SQLite archive and exports them to JMAP servers.

Which databases can Stalwart use for its data store?

Stalwart's storage page lists RocksDB, SQLite, PostgreSQL, MySQL or MariaDB and FoundationDB for the data store. RocksDB and SQLite keep blobs inside the data store.

Can Stalwart 1.0 open a data store from an earlier version?

No. The Stalwart 1.0 post says that a v1.0 server rejects data stores from earlier versions. Existing data has to be migrated to the new layout.

Can Vandelay create a PST file?

No. Vandelay imports mail into a local SQLite archive and exports the archive to a JMAP server. It never creates a PST file.

Can Stalwart be offline while I export to PST?

Outlook needs Stalwart running for IMAP. A converter that reads a RocksDB or SQLite database copy works while the server is off.

Can I try the Stalwart converter before buying?

Yes. Univik Stalwart Converter caps each folder at 25 messages in the trial, so you can export one account and open the result in Outlook first.

What should I look at in a finished Stalwart PST?

Compare the folder list you see in Outlook with the account's counts. A folder with attachments deserves a look before the old server is gone.

Leena Taylor Paul

Stalwart storage backends, the 1.0 upgrade rule and Vandelay details were read on the project pages on 14 November 2026. For Outlook I used the Microsoft export article.

More Guides for Mail Server Exports

Choose the guide that matches the server or the next step for your PST.