+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 16

Thread: Sort by Date doesn't work if mails have been moved

  1. #1
    ted_simple is offline Registered User
    Join Date
    Nov 2007
    Posts
    2
    Downloads
    0
    Uploads
    0

    Default Sort by Date doesn't work if mails have been moved

    Hallo,

    I suppose you're aware of this: The sort by date means that mails are sorted in the order in which they arrived in the particular IMAP folder, and not by the actual Send or Received date of the mail.

    This renders Roundcube useless for me, because I'm planning to move all my mails to another server, which will mix up the entire date/time order. The correct dates are shown, and it becomes obvious at once that something is wrong:

    Sender1 Subject1 Nov 15
    Sender2 Subject2 Nov 20
    Sender3 Subject3 Nov 11

    and so on.

  2. #2
    ted_simple is offline Registered User
    Join Date
    Nov 2007
    Posts
    2
    Downloads
    0
    Uploads
    0

    Default Re: Sort by Date doesn't work if mails have been moved

    Actually, if I set up another sort order

    // default sort col
    $rcmail_config['message_sort_col'] = 'size';

    it doesn't work either. No order is applied. The date column is colored dark grey though.


    EDIT: Have decided to move on to another webmail script. But maybe my hints are still useful to you.

  3. #3
    bagu is offline Registered User
    Join Date
    Jan 2010
    Posts
    97
    Downloads
    15
    Uploads
    0

    Default

    This "bug" is still here...

    Is there any way to correct this ?
    Because moving mail destroy date sort, it's hard to manage folders in imap...
    Last edited by bagu; 02-01-2010 at 04:57 PM.

  4. #4
    ABerglund is offline Registered User
    Join Date
    Sep 2007
    Location
    Eugene, Oregon, USA
    Posts
    335
    Downloads
    7
    Uploads
    0

    Default

    In version 0.3 and later, go to Preferences -> User Interface and uncheck the box for "Use message index for sorting by date".
    Arne Berglund
    SysAdmin, Internet Services
    Lane Education Service District
    Eugene, OR, USA

  5. #5
    bagu is offline Registered User
    Join Date
    Jan 2010
    Posts
    97
    Downloads
    15
    Uploads
    0

    Default

    I must hide myself under the carpet...

    Thanks a lot.

  6. #6
    Trizzunkz is offline Registered User
    Join Date
    Dec 2009
    Posts
    17
    Downloads
    1
    Uploads
    0

    Default

    Quote Originally Posted by ABerglund View Post
    In version 0.3 and later, go to Preferences -> User Interface and uncheck the box for "Use message index for sorting by date".
    I've just discovered this "bug" myself after moving all my mail to our new server. Is there anyway I can set this option off by default, so I don't have to go to all the users and do it manually?

    EDIT:
    Nevermind. I found it in main.inc.php
    Last edited by Trizzunkz; 03-10-2010 at 10:23 PM. Reason: Problem solved.

  7. #7
    ABerglund is offline Registered User
    Join Date
    Sep 2007
    Location
    Eugene, Oregon, USA
    Posts
    335
    Downloads
    7
    Uploads
    0

    Default

    In addition to setting it to 'off' by default, you can also set it so the user can't see or change it later by adding it to the 'dont_override' array.

    Code:
    $rcmail_config['dont_override'] = array('index_sort','trash_mbox','sent_mbox','junk_mbox','drafts_mbox');
    Arne Berglund
    SysAdmin, Internet Services
    Lane Education Service District
    Eugene, OR, USA

  8. #8
    Trizzunkz is offline Registered User
    Join Date
    Dec 2009
    Posts
    17
    Downloads
    1
    Uploads
    0

    Default

    That's a very handy tip.
    Thanks.

  9. #9
    dahepe is offline Roundcube Newcomer
    Join Date
    Mar 2010
    Posts
    6
    Downloads
    0
    Uploads
    0

    Default

    Hi,

    is there any way to fix the message index for imported mails?

    Best regards

  10. #10
    Martian is offline Registered User
    Join Date
    Feb 2010
    Posts
    35
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by dahepe View Post
    Hi,

    is there any way to fix the message index for imported mails?

    Best regards
    This depends on how you import the messages, what you are importing from / to.

    For example I am switching from Cyrus Imap to Dovecot using Cyrus2Dovecot ( Cyrus2Dovecot - Home ) and it keeps all the metadata in tact so I don't have to worry about this issue.

    Martian

+ Reply to Thread
Page 1 of 2 1 2 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts