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
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, 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
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/4432650c0699Wow - 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.