A few mails are lost in the migration from 2.1
So just to be sure I purged the old import, and also launched the command manually instead of _import-mm2.py_ to be sure I got all potential warnings and error messages:
```
# sudo -u mailman mailman3 remove users@lists.ovirt.org
Removed list: users@lists.ovirt.org
# sudo django-admin hyperkitty_import --pythonpath /var/www/mailman/config --settings settings -l users@lists.ovirt.org --no-sync-mailman /var/lib/mailman/archives/private/users.mbox/users.mbox |tee ~/20170621-01_mailman_migration__users.log
Importing from mbox file /var/lib/mailman/archives/private/users.mbox/users.mbox to users@lists.ovirt.org
Computing thread structure
Warming up cache
The full-text search index will be updated every minute. Run the 'manage.py runjob update_index' command to update it now.
# time django-admin update_index --pythonpath /var/www/mailman/config --settings settings_adminIndexing 179518 emails
real 107m57.416s
user 80m12.852s
sys 0m56.428s
```
So everything seem to be fine except 61 mails are missing for this specific ML.
Over all the oVirt MLs, 102 messages were lacking a Message-Id in the Mailman 2.1 mbox files, so it caused an error during import and I made a script to add a fake one, so at least it is imported even if the thread cannot be reconstituted. There is a total of 321 messages missing in this installation, so more than the updated posts, and, after checking, I honestly don't think my script is at stake here.
An example is this mail: https://mail.phx.ovirt.org/archives/list/users%40lists.ovirt.org/message/BU2QU4UIIQAPCVZCWABF63K7LEWU2FNN/
It is a reply to a mail which is in the 2.1 mbox but silently not imported. Using the UI search function I could not find it. I looked into the **message** table of the **mailman** database and also in the **hyperkitty_email** table of the **hyperkitty** database and found no trace of it using its Message-Id.
Attached is the missing mail; I could not find why it would be skipped.
[mm3_migration_skip_eg.txt](/uploads/e6b60cede1b588556b092b784408f099/mm3_migration_skip_eg.txt)
Would you please give me a hand?
\_o<
issue