#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 message_from_string() 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 </> HTTP/WebDAV/CalDAV Server _______________________________________________ calendarserver-dev mailing list calendarserver-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-dev