How exactly should SEARCH CC, BCC, FROM and TO match the strings? Spec says
"contains the specified string in the envelope structure's CC field", but
envelope has it split into multiple fields.

UW IMAP seems to match it directly with the non-parsed header field. Is that
required, or can other algorithms be used? For example match only against
addr-name, addr-adl and addr-mailbox@addr-host for each address? Matching
against parsed addresses could be better than just raw matching, so that
"SEARCH FROM [EMAIL PROTECTED]" would also match for 'From: <"tss"@iki.fi>' etc.
Also if server cached the IMAP envelope it could use that for the matching.

-- 
-----------------------------------------------------------------
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/imap/imap-list.html
-----------------------------------------------------------------

Reply via email to