[Dovecot] search functionality

Cor Bosman cor at xs4all.nl
Mon Aug 2 14:39:45 EEST 2004


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



More information about the dovecot mailing list