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: po...@ojjektum.uhulinux.hu Delivered-To: szamlag...@uhusystems.com ) 1 OK Fetch completed. 1 SEARCH HEADER Delivered-To szamlag...@uhusystems.com * SEARCH 14589 1 OK Search completed (0.146 secs). You can see the meesage with the id 14557 _has_ a "Delivered-To: szamlag...@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