MailtoPst
MBOX Zimbra

Convert MBOX to Zimbra
Online Tool

Import MBOX files into Zimbra Collaboration Suite. Server-side import with zmmailbox CLI or IMAP client upload. Migrate from Thunderbird, Gmail, or any MBOX source.

🛡️ GDPR Compliant 🔒 TLS 1.3 Encryption 🇪🇺 Hosted in EU 🇫🇷 Built in France 🗑️ Auto-delete 24h

What is a MBOX file?

MBOX (Mailbox) is a standard email storage format that stores multiple email messages sequentially in a single text file. It is one of the most widely supported email formats and serves as a common intermediate format for email migration.

MBOX files originate from many sources:
- Mozilla Thunderbird — MBOX is Thunderbird's native storage format
- Gmail Takeout — Google exports your Gmail data as MBOX files
- Apple Mail — can export mailboxes in MBOX format
- Email conversion tools — MailtoPst outputs MBOX when converting from PST, OST, OLM, or other formats
- Unix/Linux mail systems — traditional Unix MTA and MDA systems use MBOX variants
- Legacy clients — Eudora, Postbox, SeaMonkey, and others

MBOX is particularly well-suited for Zimbra import because Zimbra's server-side tools (zmmailbox) natively understand the MBOX format, enabling fast and efficient migration.

What is a Zimbra file?

Zimbra Collaboration Suite is an enterprise-grade email and collaboration platform available as both an open-source community edition and a commercial product. It provides email, calendar, contacts, tasks, and document management through a web-based interface.

Zimbra's MBOX import capabilities:
- zmmailbox CLI — native command-line tool that directly imports MBOX files into user mailboxes
- postRestURL — REST API endpoint for uploading MBOX data to specific folders
- IMAP support — standard IMAP protocol for client-side import via Thunderbird or other clients
- Admin console — web-based administration for managing imported data
- Scalable architecture — handles large MBOX files and batch imports efficiently

Zimbra is designed for organizations that want full control over their email infrastructure, whether on-premises or in a private cloud. Its native MBOX import support makes it one of the easiest enterprise platforms to migrate to.

Why convert MBOX to Zimbra?

Importing MBOX files into Zimbra addresses several migration scenarios:

1. Thunderbird to Zimbra migration
Organizations deploying Zimbra as their centralized email platform need to import users' local Thunderbird data (stored as MBOX) into Zimbra mailboxes.

2. Gmail to Zimbra migration
Companies leaving Google Workspace export their Gmail data via Google Takeout (which produces MBOX files) and import them into Zimbra. This is a common migration path for organizations adopting self-hosted email.

3. Server consolidation
IT teams consolidating email from multiple sources — old servers, backup archives, local clients — often normalize everything to MBOX before bulk-importing into Zimbra.

4. PST/OST via intermediate conversion
The recommended migration path from Outlook to Zimbra is: convert PST/OST to MBOX with MailtoPst, then import MBOX into Zimbra using zmmailbox. This two-step process is more reliable than direct PST import.

5. Disaster recovery
Restoring email from MBOX backup files into a new or replacement Zimbra server is a standard disaster recovery procedure. MBOX's simplicity makes it ideal for backup/restore workflows.

MBOX vs Zimbra — Key Differences

Feature MBOX Zimbra
Format type File format (text-based) Email server platform
Import support Universal (most clients and tools) Native MBOX import via zmmailbox
Access method Local file (no server) Web client, IMAP, POP3
Search No built-in search Server-side full-text search
Multi-user Single file, single user Multi-user enterprise platform
Management File system operations Admin console with quotas, policies

3 methods to convert MBOX to Zimbra

Method 1: zmmailbox postRestURL (recommended)

Transfer the MBOX file to the Zimbra server via SCP/SFTP. Use the zmmailbox command to import: zmmailbox -z -m user@domain.com postRestURL '/Inbox' /path/to/inbox.mbox. Repeat for each folder's MBOX file.

Pros

  • Fastest import method
  • Native Zimbra tool
  • Scriptable for batch migration
  • Handles large files efficiently
  • Preserves all email metadata

Cons

  • Requires server SSH access
  • Command-line knowledge needed
  • Must be run as zimbra user

Method 2: Zimbra REST API upload

Use the Zimbra REST API to upload MBOX files directly to user mailboxes over HTTPS. This can be done with curl: curl -u user@domain:password -T file.mbox 'https://zimbra.domain.com/home/user@domain/Inbox?fmt=mbox'

Pros

  • No SSH access needed
  • Works remotely over HTTPS
  • Scriptable with curl
  • Can be automated

Cons

  • Requires admin credentials
  • Slower than direct server-side import
  • HTTPS upload limited by bandwidth
Recommended

Method 3: IMAP client import

Import the MBOX file into Thunderbird's local folders using ImportExportTools NG, then connect Thunderbird to the Zimbra account via IMAP. Move or copy emails from local folders to Zimbra IMAP folders.

Pros

  • No server access needed
  • End-user friendly
  • Selective migration possible
  • Visual folder management

Cons

  • Slowest method (IMAP sync bottleneck)
  • Requires Thunderbird installation
  • Not suitable for large-scale migration
  • Manual folder mapping

Step by step

How to convert MBOX to Zimbra with MailtoPst

01

Upload your MBOX file

Drag & drop or click to upload your .mbox file. Files up to 51 GB supported with resumable upload.

02

Choose Zimbra as output

Select Zimbra from the format dropdown. MailtoPst auto-detects the best conversion settings.

03

Download your Zimbra file

Conversion takes seconds. Download your .zimbra file or receive it by email.

Convert your MBOX to Zimbra now →

100 MB free credit. No credit card required.

FAQ

Frequently Asked Questions

Does Zimbra support MBOX import natively?

Yes. Zimbra's zmmailbox CLI tool has built-in MBOX import via the postRestURL command. This is the recommended method for server-side import. Zimbra also supports MBOX upload through its REST API.

How do I import Gmail MBOX into Zimbra?

Export your Gmail data using Google Takeout (select Mail only, MBOX format). Transfer the downloaded MBOX files to your Zimbra server and import using zmmailbox postRestURL. For multiple users, script the process.

Can I import MBOX from a PST conversion into Zimbra?

Yes. Convert the PST to MBOX using MailtoPst, then import the MBOX into Zimbra. This is the recommended migration path from Outlook/Exchange to Zimbra: PST > MBOX (via MailtoPst) > Zimbra (via zmmailbox).

Will folder structure be preserved?

MBOX files represent individual folders. Import each MBOX file into the corresponding Zimbra folder using the postRestURL target path. For example, '/Inbox' for inbox, '/Sent' for sent items, or '/CustomFolder' for custom folders.

How fast is MBOX import into Zimbra?

Server-side import via zmmailbox is very fast — typically processing 5-20 GB per hour depending on server hardware. REST API upload speed depends on network bandwidth. IMAP client import is slowest at 1-2 GB per hour.

Related conversions

Ready to convert your emails?

First conversion free. No credit card required.