[CalendarServer-dev] [Calendar and Contacts Server] #416: replies to tokenized mails are not forwared correctly

Calendar and Contacts Server trac at macosforge.org
Fri Feb 18 11:27:56 PST 2011

#416: replies to tokenized mails are not forwared correctly
 Reporter:  mail@…                |       Owner:  wsanchez@…        
     Type:  Defect                |      Status:  new               
 Priority:  5: Not set            |   Milestone:                    
Component:  Calendar Server       |    Severity:  Other             
 Keywords:                        |       Radar:                    

Comment(by mail@…):

 I spend a long time debugging this issue.

 This issue is caused by different linebreaks:
 It was caused by somehow incorrect lineending handling.

 Read from my IMAP, I have message containing \r\n when they get read by
 They are delimited by \n in the header and still \r\n in the content.

 Sending the mail via ESMTPSenderFactory() now creates two \n into \r\n as
 of RFC2822, but does
 so for the content too, therefore too many line breaks are in there.

 One MUST NOT use str(msg) as this contains the unix header (envelope) and
 therefore the headers
 will be added twice ...

 My issue416.py is useless and wrong. But calendarserver-
 mailforwarding.patch solves all my problems.

Ticket URL: <http://trac.calendarserver.org/ticket/416#comment:3>
Calendar and Contacts Server </>

More information about the calendarserver-dev mailing list