Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: bagu on December 16, 2010, 05:01:57 PM

Title: Date sort problem
Post by: bagu on December 16, 2010, 05:01:57 PM
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...
Title: Date sort problem
Post by: WereWolf on December 16, 2010, 05:28:43 PM
thanck you!
Title: Date sort problem
Post by: bagu on December 17, 2010, 05:46:46 AM
:confused:
Title: Date sort problem
Post by: bagu on December 19, 2010, 06:10:20 PM
Nobody now where the problem come from and how to correct it ?
Title: Date sort problem
Post by: alec on December 20, 2010, 02:49:06 AM
The "Received:" header is not used for sorting. I think those messages doesn't have "Date:" header and server/Roundcube uses internal date.
Title: Date sort problem
Post by: bagu on December 20, 2010, 09:02:58 AM
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...
Title: Date sort problem
Post by: bagu on January 18, 2011, 07:05:02 PM
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.