Error
Error: Lowest UID 0 is less than 1.
Cause
This error is caused by a well-known bug in the IMAP implementation used by your email server.
Internally, each IMAP message is assigned a unique ID (UID). MigrationWiz retrieves UIDs from the Source server as a way to implement fast data retrieval. As per RFC 3501 (which defines how the IMAP protocol works), all UIDs must be greater or equal to 1. In the formal specification (paragraph 9), a UID is defined as an "nz-number", which itself is defined as a non-zero value.
However, due to invalid implementations, some servers may return a lowest UID value of 0. For example, we've seen situations where sending the following request: "UID FETCH 1:1" results in the following response: "(UID 0)". This is obviously incorrect since the requested range was 1-1.
Resolution
Upgrade Your IMAP Server
Consider upgrading your IMAP server to the latest version.
Disable Strict Validation of UIDs
You may disable the validation of UIDs:
- Sign in to your MigrationWiz account
- Click on Mailbox Migration.
- Click on Migrate Mailbox.
- Select your Mailbox Connector.
- Click on View Mailboxes.
- Select your Mailbox.
- Click on Edit Mailbox.
- Click on Show Advanced Options.
- In the Support Only options, enter AllowZeroUid=1.
- Click on Save.
Important
You can also set the same Advanced Option on the project. In this case, the setting will apply to all mailboxes in this project.By setting this option, MigrationWiz will assume that the lowest UID is 1. As a result, it is possible that a message with a UID of zero in each folder will not be migrated.