Roundcube Community Forum

 

Date sort problem

Started by bagu, December 16, 2010, 05:01:57 PM

Previous topic - Next topic

bagu

Hello,

I have a small problem on roundcube 0.4.2 and i can't find the solution on the forum (but i'm sure that the answer was given).
Some of my mail (not all) are not sort by date.

I have :
date.timezone = Europe/Paris
set on my php.ini

And :
$rcmail_config['message_sort_col'] = 'date';
$rcmail_config['dst_active'] = (bool)date('I');


A mail witch is not sort correclty have this in header :
QuoteReceived: from smtp.smtpout.orange.fr ([80.12.242.123]) by mail.bagu.biz ; Wed, 1 Dec 2010 15:17:08 +0100
Received: from wwinf1j13 ([10.232.42.57]) by mwinf5d24 with ME id dqHF1f00H1E0LLS03qHFZz; Wed, 01 Dec 2010 15:17:15 +0100

Can you explain me how i can correct this...

WereWolf


bagu


bagu

Nobody now where the problem come from and how to correct it ?

alec

The "Received:" header is not used for sorting. I think those messages doesn't have "Date:" header and server/Roundcube uses internal date.

bagu

So how to have message sort by date ?
Because there is many message like this...

Here is an example :
Return-Path: [email protected]
Delivered-To: [email protected]
Received: from smtp.smtpout.orange.fr ([80.12.242.123]) by mail.xxxxx.biz ; Wed, 1 Dec 2010 15:17:08 +0100
Received: from wwinf1j13 ([10.232.42.57]) by mwinf5d24 with ME id dqHF1f00H1E0LLS03qHFZz; Wed, 01 Dec 2010 15:17:15 +0100
From: Pierre DUPONT <[email protected]>
Reply-To: Pierre DUPONT <[email protected]>
To: Hugues Cheguillaume <[email protected]>
Message-ID: <26496995.251677.1291213035425.JavaMail.www@wwinf1j13>
In-Reply-To: <!&!AAAAAAAAAAAYAAAAAAAAAOx5yjP3lKShLrjeW366JCbLigAAAEAAAABJXId28hj5Arwbec6YkQOwBAAAAAA==@xxxxx.fr>
References: <!&!AAAAAAAAAAAYAAAAAAAAAOx5yjP3lKShLrjeW366JCbLigAAAEAAAABJXId28hj5Arwbec6YkQOwBAAAAAA==@xxxxx.fr>
Subject: re: Disque dur USB
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary=&quot;----=_Part_251676_21938632.1291213035407&quot;
X-Originating-IP: [109.211.202.224]
X-Wum-Nature: EMAIL-NATURE
X-WUM-FROM: |~|
X-WUM-TO: |~|
X-WUM-REPLYTO: |~|


And it's at the bottom even i sort by date...

bagu

Ok, i've now found when the sorting don't work...It's when caching is disable.
As soon as i enable it, messages are sorted.