[Dovecot] search bug?

Pozsar Balazs pozsy at uhulinux.hu
Wed Jun 16 20:01:35 EEST 2010


Hi all,

I have emails with multiple Delivered-To: headers in them. The problem 
is that the SEARCH command only searches in the first instances. For 
example:

1 FETCH 14557 BODY[HEADER.FIELDS (Delivered-To)]
* 14557 FETCH (BODY[HEADER.FIELDS (DELIVERED-TO)] {85}
Delivered-To: pozsy at ojjektum.uhulinux.hu
Delivered-To: szamlagyar at uhusystems.com

)
1 OK Fetch completed.
1 SEARCH HEADER Delivered-To szamlagyar at uhusystems.com
* SEARCH 14589
1 OK Search completed (0.146 secs).


You can see the meesage with the id 14557 _has_ a
"Delivered-To: szamlagyar at uhusystems.com" header field, but the SEARCH 
does not find it, only another message.

This is with dovecot 1.2.11.


For the record, cyrus-imapd behaves as I would have expected, and I 
could not find anything relevant in the RFCs.


Could anyone tell me if this is a bug, or how to search like I would 
want?


Thanks,
Balazs Pozsar


More information about the dovecot mailing list