http://bugzilla.spamassassin.org/show_bug.cgi?id=4363
------- Additional Comments From [EMAIL PROTECTED] 2005-06-01 08:11 ------- Subject: Re: ActivePerl compatibility On Wed, Jun 01, 2005 at 03:36:01AM -0700, [EMAIL PROTECTED] wrote: > In RFC822 newline separator '\r\n' defined for mail headers. > > For correct work binmode() fixes - You must correct all \n in message headers > to \r\n before print it. We can't just assume \r\n, because most of the time it's just \n for SA users... IMO, SA ought to check what the first EOL chars are and use them throughout. Something like: $self->{eol} = ($message[0] =~ /\r\n/) ? "\r\n" : "\n"; During parsing. Then, whenever we generate anything, use the value appropriately. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.