[dovecot] Re: message order reversed on copying

Timo Sirainen tss at iki.fi
Mon Apr 7 01:27:36 EEST 2003


On Mon, 2003-04-07 at 01:15, Charlie Brady wrote:
> > > +  nfiles = scandir (tmp, &names, NULL, maildir_namesort);
> > scandir() isn't portable though.
> No? Which OS doesn't have it?

It's not in any standard -> it's not portable. Maybe it's portable
enough, but I try to avoid those whenever possible.

> > Which changes UIDVALIDITY and forces clients to discard their cache.
> 
> Yes, I could have mentioned that. Still, it's the only way I know to 
> restore the sorting order once it's jumbled.

How about making your client sort the messages by received-date? :)




More information about the dovecot mailing list