[Dovecot] search functionality
2 Aug
2004
2 Aug
'04
2:39 p.m.
Hi all, if I give the following command in test32:
A004 UID SEARCH CHARSET ISO-8859-1 ALL TEXT {4} Test
The response is:
- SEARCH A004 OK Search completed.
If I say:
A004 UID SEARCH CHARSET ISO-8859-1 ALL FROM {4} Test
The response is:
- SEARCH 217 350 A004 OK Search completed.
The RFC says that 'TEXT' is supposed to result in a list of messages where the search string is in either the body or the header. Obviously the string is there in this example, else the FROM search wouldnt have given a result. Tracing the process shows that dovecot never actually checks the email messages for the string. It does for a BODY search but not for a TEXT search. Is this on purpose?
Cor
7406
Age (days ago)
7410
Last active (days ago)
1 comments
2 participants
participants (2)
-
Cor Bosman
-
Timo Sirainen