ok.
i've reinstalled everything from scratch, reimported email from cyrus, and reprovisioned the accounts. everything is working much better now.
i don't think i should have been able to f-up the message store so badly, though, using only imapsync--which utilizes Mail::IMAPClient basically, i used imapsync to mass delete all of the messages in the store, using
$to->deletemessage($t_msg); from line 948 to line 936;
which should have deleted everything where the internal-date's were not synced.
then i reran imapsync to reimport the messages with --syncinternaldates.
this appeared to work. though, only for some folders--which is weird. (the ones where it did not appear to work, the internaldates did not change, and still only one copy of the email).
so basically, the moral of the story is, remember to --syncinternaldates the first time. |