Repository navigation
CLI & Headless Automation
MundofyOfficial edited this page Sep 21, 2026
·
2 revisions
Mundofy MailMigrator provides a high-performance command-line interface (CLI) for sysadmins, DevOps engineers, and automated server workflows.
MundofyMailMigrator.exe [options]| Option | Flag | Description | Default |
|---|---|---|---|
| Config Path | -c, --config <path> |
Path to the ImapCopy.cfg configuration file |
(Auto-detects ImapCopy.cfg in current directory) |
| Log File Export | -l, --log <path> |
Real-time export/stream of all logs to a specified text file | (Console only) |
| Concurrency | -t, --threads, --concurrency <n> |
Number of concurrent account worker threads | 4 |
| Allow Invalid SSL | -k, --allow-invalid-certs, --insecure |
Permit self-signed, untrusted, or unsigned SSL certificates | false |
| Test Only | --test |
Verifies logins for all accounts without copying messages | false |
| Help | -h, --help |
Displays command line usage and arguments | - |
.\MundofyMailMigrator.exe -c C:\Migrations\ImapCopy.cfg.\MundofyMailMigrator.exe -c C:\Migrations\ImapCopy.cfg -l C:\Migrations\Logs\migration.txt.\MundofyMailMigrator.exe -c C:\Migrations\ImapCopy.cfg -k.\MundofyMailMigrator.exe -c C:\Migrations\ImapCopy.cfg --concurrency 8 -l migration.log.\MundofyMailMigrator.exe -c C:\Migrations\ImapCopy.cfg --test& "C:\Tools\MundofyMailMigrator.exe" -c "C:\Migrations\ImapCopy.cfg" -t 6 -k -l "C:\Migrations\Logs\latest.txt"
if ($LASTEXITCODE -eq 0) {
Write-Host "Mail migration finished successfully!" -ForegroundColor Green
} else {
Write-Error "Migration encountered errors. Check log file."
}When run with CLI arguments, the application outputs formatted, color-coded console logs:
=======================================================================
Mundofy MailMigrator - CLI Mode
Created by Danny Schuller | https://mundofy.com
Issues: https://github.com/MundofyOfficial/Mundofy-MailMigrator/issues
=======================================================================
[INFO] Loading configuration: ImapCopy.cfg
[INFO] Source Server : mail.oldserver.com:993 (IMAP, SSL: True)
[INFO] Dest Server : mail.newserver.com:993 (IMAP, SSL: True)
[INFO] Accounts : 25
[INFO] Concurrency : 4 workers
[Worker 1] Starting migration: user1@domain.com -> user1@newdomain.com
[Worker 2] Starting migration: user2@domain.com -> user2@newdomain.com
[Worker 1] user1@domain.com: INBOX (1,420 messages copied, 0 skipped)
...
----------------- MIGRATION SUMMARY -----------------
Total Accounts Processed : 25
Successful Accounts : 25
Failed Accounts : 0
Total Messages Copied : 48,290
Total Errors : 0
Elapsed Time : 00:14:32
-----------------------------------------------------
While the desktop GUI currently targets Windows (WPF) and macOS (Avalonia UI 12), a lightweight, native cross-platform console build (linux-x64, linux-arm64) and an official Docker container (docker run mundofy/mailmigrator ...) are under active development. See the Planned Features & Roadmap for details.
Mundofy MailMigrator is developed by Danny Schuller at Mundofy. Licensed under the MIT License.
GitHub Repository β’ Releases & Downloads β’ Issue Tracker
GitHub Repository β’ Releases & Downloads β’ Issue Tracker
Version 1.6.0
- π€ Single Account Migration
- π₯ Batch Migration & Concurrency
- π Modern OAuth2 & Cloud Providers
- π Mailbox Quotas & Capacity Guard
- π macOS User Guide
- π» CLI & Headless Automation