Sandeep Agarwal writes:
hello list,i am using squirrelmail as the mail client having server side sorting enabled that gets the mails sorted from the IMAP server (assuming IMAP provides the sorted result). I am facing problem when i sort the message list by Sender (From:). it gives a list sorted by email address and if the From: field is in the form From: abc <[EMAIL PROTECTED]> From: gpl <[EMAIL PROTECTED]> then the sorted list is (sort on email address) From: gpl <[EMAIL PROTECTED]> From: abc <[EMAIL PROTECTED]> while the desired result is From: abc <[EMAIL PROTECTED]> From: gpl <[EMAIL PROTECTED]> please forgive me if this is a squirrelmail issue. i am assuming that sorting is done on the server end and thus this is a IMAP issue. i am using Courier-IMAP-4.0.2, Courier-authlib-0.55, Squirrelmail-1.44. My MTA is qmail, its a qmr install hope the information is adequate.
From RFC 3501:
The defined sort criteria are as follows. Refer to the Formal
Syntax section for the precise syntactic definitions of the
arguments. If the associated RFC-822 header for a particular
criterion is absent, it is treated as the empty string. The empty
string always collates before non-empty strings.
[ . . . ]
FROM
RFC-822 local-part of the first "From" address.
In other words, a SORT by the FROM header sorts by the E-mail address,
disregarding the sender's name, which is what Courier does here.
pgppg7i0YTjZG.pgp
Description: PGP signature
