[Dovecot] search bug?
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
On 2010-06-16 1:01 PM, Pozsar Balazs wrote:
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:
I'm 99% certain this is by design. Only the first delivered-to header is considered reliable, not to mention the possibility of violating privacy (think BCC recipients)...
--
Best regards,
Charles
On Wed, Jun 16, 2010 at 01:10:50PM -0400, Charles Marcus wrote:
On 2010-06-16 1:01 PM, Pozsar Balazs wrote:
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:
I'm 99% certain this is by design. Only the first delivered-to header is considered reliable,
Unreliable or not, I would like to search in them.
not to mention the possibility of violating privacy (think BCC recipients)...
I really cannot see what IMAP SEARCH has to do with BCC... If this header field is in the mail I have received, I can read it anyway...
Balazs Pozsar
On Wed, 2010-06-16 at 19:01 +0200, Pozsar Balazs wrote:
I have emails with multiple Delivered-To: headers in them. The problem is that the SEARCH command only searches in the first instances.
On 2010-06-16 1:30 PM, Timo Sirainen wrote:
On Wed, 2010-06-16 at 19:01 +0200, Pozsar Balazs wrote:
I have emails with multiple Delivered-To: headers in them. The problem is that the SEARCH command only searches in the first instances. Fixed: http://hg.dovecot.org/dovecot-1.2/rev/4432650c0699
Wow - Timo, should we worry about getting this fixed in TB?
--
Best regards,
Charles
On Wed, 2010-06-16 at 14:16 -0400, Charles Marcus wrote:
On 2010-06-16 1:30 PM, Timo Sirainen wrote:
On Wed, 2010-06-16 at 19:01 +0200, Pozsar Balazs wrote:
I have emails with multiple Delivered-To: headers in them. The problem is that the SEARCH command only searches in the first instances. Fixed: http://hg.dovecot.org/dovecot-1.2/rev/4432650c0699
Wow - Timo, should we worry about getting this fixed in TB?
Are you mixing this with the other bug? This has nothing to do with TB.
On 2010-06-16 2:53 PM, Timo Sirainen wrote:
On Wed, 2010-06-16 at 14:16 -0400, Charles Marcus wrote:
On 2010-06-16 1:30 PM, Timo Sirainen wrote:
On Wed, 2010-06-16 at 19:01 +0200, Pozsar Balazs wrote:
I have emails with multiple Delivered-To: headers in them. The problem is that the SEARCH command only searches in the first instances. Fixed: http://hg.dovecot.org/dovecot-1.2/rev/4432650c0699
Wow - Timo, should we worry about getting this fixed in TB?
Are you mixing this with the other bug? This has nothing to do with TB.
Oops, you're right, sorry for the noise...
--
Best regards,
Charles
participants (3)
-
Charles Marcus
-
Pozsar Balazs
-
Timo Sirainen