[imp] Sort by arrival problem
Pallos B. Richard
richard.pallos at gmail.com
Wed Jul 20 15:04:37 PDT 2005
Hi All,
I got a problem after migrating Maildirs from an older server to a new one.
The problem is that IMP does not sort correctly the messages in the
Maildir by the arrival index (desc: 3,2,1 OK, but asc:2,1,3 not OK!). It
seems that the migrated letters do not get sorted at all.
The Maildir was migrated with a simple file-system copy. Other IMAP mail
clients (mozilla, thunderbird) work fine.
From the imp/lib/Mailbox.php I found out that the sort is made by the
PHP's imap_sort() builtin function so I checked the sort index. I got,
that for the migrated old messages the message_id row in the array is empty.
e.g.:
New letter: [message_id] => <20050720154309.61A8620937 at hostname>
Migrated : [message_id] =>
Is the imap_fetch_overview() gets this message_id wrong? Is it a
c-client problem? Is it possible to sort by the [msgno] instead?
thanks,
Richie
params:
migration: debian woody -> sarge
IMAP: courier-IMAP 1.4.3-2.5 -> 3.0.8-4 (deb package)
PHP 4.3.10-15 (deb package)
IMP 4.0.2, Horde 3.0.3 (src)
More information about the imp
mailing list