xiaojie writes:

The courierimapuiddb file in Maildir is always in a wrong sequence. Below is from the corrupted courierimapuiddb file.   1186 2004090810051691AC.tmp
1187 200505211739304C03.tmp
1188 2005083010195658AC.tmp
1189 200505261148501DA9.tmp
1190 20060803175724E551.tmp
1191 200604051241125E02.tmp
1192 200604061738396EA0.tmp
1193 2005040111570096A9.tmp
1194 200501012257384ACE.tmp
6601 200601050920099902.tmp
6602 200410281420158016.tmp
6603 200501201432203B33.tmp
6604 20041008163500830E.tmp
6605 20050517234256434B.tmp
6606 200501261500287BB9.tmp
6607 2005031812162017A5.tmp
6608 2005070502335445A4.tmp
6609 20041021172838513E.tmp
6610 200411171459354D75.tmp
6611 200411231350332B9E.tmp

  All messages after 6601 cannot be read in my webmail, i.e. SquirrelMail

Define "cannot be read in by webmail".

and when i removed the courierimapuiddb file, it was rebuilt, however it still in the similar wrong sequence.

Define "wrong sequence".

An IMAP client, like SquirrelMail, doesn't even know what the filenames are. This is not a part of the IMAP protocol. All the client knows about the messages are their server-assigned sequence number and UID. The client retrieves the individual messages by their sequence number, or UID, and has no means to access their individual filenames. So, whatever your problem really is, it has nothing to do with the actual message filenames.

And as far as their relative order, Given the actual filenames, shown above, the UIDs will be essentially assigned at random, because the filenames given above violate the normal naming conventions for individual message filenames in maildirs. Whatever you are using to deliver mail to maildirs is broken, and fails to generate the message filenames according to the usual filename naming convention. See the "Adding new mail to maildirs" at http://www.courier-mta.org/maildir.html


Attachment: pgpfg5SVVvReW.pgp
Description: PGP signature

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Courier-imap mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to