https://issues.apache.org/SpamAssassin/show_bug.cgi?id=5185
--- Comment #17 from Kevin A. McGrail <[email protected]> 2012-01-23 18:04:23 UTC --- (In reply to comment #16) > Ok, sorry for the delay. > > So the problem (now) seems to be that, at SMTP time, the message body is > LF-terminated, but when I later access it via IMAP, it's CRLF terminated. > > Obviously that's not SA's fault, but certainly the easiest fix from my POV > would be to make get_msgid line-terminator-agnostic... I think stripping CR and LF for the purposes of generating the msg id should be fine. Thoughts on this type of change to get_msgid? # Make a copy since pristine_body is a reference ... my $body = join('', $msg->get_pristine_body()); + #Stripping all CR and LF so that testing midstream from MTA and post delivery don't + #generate different id's simply because of LF<->CR<->CRLF changes. + $body =~ s/[\r\n]//g; if (length($body) > 64) { # Small Body? regards, KAM -- Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
