16 Jun
2010
16 Jun
'10
5:01 p.m.
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@ojjektum.uhulinux.hu Delivered-To: szamlagyar@uhusystems.com
) 1 OK Fetch completed. 1 SEARCH HEADER Delivered-To szamlagyar@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@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