A NOTE has been added to this issue. 
====================================================================== 
http://www.dbmail.org/mantis/view.php?id=377 
====================================================================== 
Reported By:                idk
Assigned To:                
====================================================================== 
Project:                    DBMail
Issue ID:                   377
Category:                   IMAP daemon
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
target:                      
====================================================================== 
Date Submitted:             14-Jul-06 16:18 CEST
Last Modified:              14-Jul-06 18:27 CEST
====================================================================== 
Summary:                    IMAPD returns invalid FETCH ENVELOPE field when
there are multiple addresses
Description: 
I have a message with header

From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED];[EMAIL PROTECTED]

When I fetch this message

A001 UID FETCH 315406 (ENVELOPE)

I got on Fedora Core 3

* 59 FETCH (ENVELOPE ("date" "subject" ((NIL NIL "sender" "my.dom")) ((NIL
NIL "sender" "my.dom")) ((NIL NIL "sender" "my.cz")) ((NIL NIL "one"
"my.dom;")("two" "my.dom")) NIL NIL NIL "id") UID 315406)
A001 OK UID FETCH completed

and on Fedora Core 5

* 59 FETCH (ENVELOPE ("date" "subject" ((NIL NIL "sender" "my.dom")) ((NIL
NIL "sender" "my.dom")) ((NIL NIL "sender" "my.cz")) ((NIL NIL "one"
"my.dom;two" "my.dom")) NIL NIL NIL "id") UID 315406)
A001 OK UID FETCH completed

(the difference is in "to" field:

((NIL NIL "one" "my.dom;")("two" "my.dom"))

vs.

((NIL NIL "one" "my.dom;two" "my.dom"))

no one is good)
====================================================================== 

---------------------------------------------------------------------- 
 idk - 14-Jul-06 18:03  
---------------------------------------------------------------------- 
One more info: header with additive ", " string is stored into database on
FC3, but FC5, so the issue is (maybe) when message is to be inserting into
database (MySQL), so LMTP daemon?

If so, I have find on the wrong place :( 

---------------------------------------------------------------------- 
 idk - 14-Jul-06 18:27  
---------------------------------------------------------------------- 
:(

tcpdump on local lmtp port shows me an additive ", " string in incomming
request, so the "comma issue" begins in postfix - on FC3 is 2.1.5 postfix
installed and on FC5 2.2.8

Ok, now I know from where is a ", " string. But stills problem with
delimiter. The delimiter in 822 message is (fixme if it's not true) ";"
char. And multiple "@" chars makes multiple and nonsense field outputs in
FETCH reply. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
14-Jul-06 16:18 idk            New Issue                                    
14-Jul-06 18:03 idk            Note Added: 0001300                          
14-Jul-06 18:27 idk            Note Added: 0001301                          
======================================================================

Reply via email to