Re: [courier-users] Server side sorting

2017-03-23 Thread Sam Varshavchik
Alessandro Vesely writes: Their deficiencies notwithstanding (e.g. FAMPending: timeout), file systems are way more mature than DBMS. Even writing in PHP or Python at times requires to consider the brand of the underlying database, let alone C/C++. And DBs make automating installation even

Re: [courier-users] Server side sorting

2017-03-23 Thread Alessandro Vesely
On Wed 22/Mar/2017 18:47:10 +0100 Sam Varshavchik wrote: > Alessandro Vesely writes: > >> Some IMAP servers use indexed files too. Courier does not. What is the >> rationale behind that design choice? > > I expected – as I said – for clients to handle their own caching and indexing. > Indexing

Re: [courier-users] Server side sorting

2017-03-22 Thread Sam Varshavchik
Alessandro Vesely writes: Some IMAP servers use indexed files too. Courier does not. What is the rationale behind that design choice? I expected – as I said – for clients to handle their own caching and indexing. Indexing adds complexity. More code, more opportunities for bugs. Furthermo

Re: [courier-users] Server side sorting

2017-03-22 Thread Alessandro Vesely
On Wed 22/Mar/2017 16:55:09 +0100 Sam Varshavchik wrote: > > A server is a shared resource. It never made any sense to me to offload as > much > processing as possible to the server. It makes more sense for most of the > processing to be done on the client side, with the server's role limited to

Re: [courier-users] Server side sorting

2017-03-22 Thread Sam Varshavchik
Michelle Konzack writes: Hello Sam, On 2017-03-22 06:35:16 Sam Varshavchik hacked into the keyboard: > The IMAP command is THREAD REFERENCES. OK, this is fine since I can setup ANY commands. > The response consists of > message numbers, with parenthesis indicating various threads and > subthr

Re: [courier-users] Server side sorting

2017-03-22 Thread Michelle Konzack
Hello Sam, On 2017-03-22 06:35:16 Sam Varshavchik hacked into the keyboard: > The IMAP command is THREAD REFERENCES. OK, this is fine since I can setup ANY commands. > The response consists of > message numbers, with parenthesis indicating various threads and > subthreads: > > a THREAD REFERENC

Re: [courier-users] Server side sorting

2017-03-22 Thread Sam Varshavchik
Michelle Konzack writes: But how can I do thread sorting? The squirrelmail sourcecode is really weird and I do not understand how it works. Question: Can I use for this the "IMAP CAPABILITY" server side sorting? I access the imap account with php5 and php-imap. The IMAP command is THREAD

Re: [courier-users] Server side sorting [SOLVED]

2007-03-12 Thread Arne Schmitz
Am Samstag, 10. März 2007 02:38 schrieb Sam Varshavchik: > Each IMAP message has two timestamps associated with it: the message > arrival time, and the contents of the Date: header.  A mail client can > request either one to be used as a sort key. > > If Squirrelmail sorts messages using the Date:

Re: [courier-users] Server side sorting [SOLVED]

2007-03-09 Thread Sam Varshavchik
Arne Schmitz writes: Am Freitag, 9. März 2007 09:26 schrieb Arne Schmitz: Am Dienstag, 6. März 2007 11:37 schrieb Arne Schmitz: > I am using courier-imap 4.1.x and I am having problems with server side > sorting. In squirrelmail mails are sorted wrong if I sort them by date. > If squirrelmail s

Re: [courier-users] Server side sorting [SOLVED]

2007-03-09 Thread Sam Varshavchik
Arne Schmitz writes: Am Freitag, 9. März 2007 15:41 schrieben Sie: > Now I know -- Courier uses the file modification time for sorting. I have > migrated emails to Courier, so now they have new file modifications > times. The file modification times shouldn't have changed in the first place.

Re: [courier-users] Server side sorting [SOLVED]

2007-03-09 Thread Gordon Messmer
Arne Schmitz wrote: > > Now I know -- Courier uses the file modification time for sorting. I have > migrated emails to Courier, so now they have new file modifications times. > Because of that, the sorting is garbled. Nice to know! Also, new emails get > sorted correctly. :^) If it bugs you, a

Re: [courier-users] Server side sorting [SOLVED]

2007-03-09 Thread Arne Schmitz
Am Freitag, 9. März 2007 15:40 schrieben Sie: > just curious: what happens if you migrate the emails as follows: > > cp -p > > or > > cd /old > tar cf - . | ( cd /new | tar xvf - ) > ? Haven't tested, but it should preserve the modification time. As I said in another post, I did not have access t

Re: [courier-users] Server side sorting [SOLVED]

2007-03-09 Thread Arne Schmitz
Am Freitag, 9. März 2007 15:41 schrieben Sie: > > Now I know -- Courier uses the file modification time for sorting. I have > > migrated emails to Courier, so now they have new file modifications > > times. > > The file modification times shouldn't have changed in the first place. Yes, but I copie

Re: [courier-users] Server side sorting [SOLVED]

2007-03-09 Thread Arne Schmitz
Am Freitag, 9. März 2007 09:26 schrieb Arne Schmitz: > Am Dienstag, 6. März 2007 11:37 schrieb Arne Schmitz: > > I am using courier-imap 4.1.x and I am having problems with server side > > sorting. In squirrelmail mails are sorted wrong if I sort them by date. > > If squirrelmail sorts the mails by

Re: [courier-users] Server side sorting

2007-03-09 Thread Arne Schmitz
Am Dienstag, 6. März 2007 11:37 schrieb Arne Schmitz: > I am using courier-imap 4.1.x and I am having problems with server side > sorting. In squirrelmail mails are sorted wrong if I sort them by date. If > squirrelmail sorts the mails by itself, it works, but server side sorting > fails. What coul