On 2001-09-06, 08:55:46 (-0400), Mark Salazar,,703 558 7900, wrote:
> After my upgrade to 1.43 I've had several non-delivery report from Qmail:
>
> "SMTP cannot transfer messages with partial final lines. (#5.6.2)"
>
> As you might expect this should only occur when the last line isn't terminated by a newline. It looks like all the messages where this happened were
> HTML and the sanitizer attached a log, so for now I've disabled the inline log feature.
Find the line (near line 780 in Sanitizer.pm):
$part->Write($self->expand("<P>$signature<P></TD></TR></TABLE>"));
and add a \n after the </TABLE> tag, like so:
$part->Write($self->expand("<P>$signature<P></TD></TR></TABLE>\n"));
Does that solve the problem?
-- Bjarni R. Einarsson PGP: 02764305, B7A3AB89 07650@xyz.molar.is -><- http://bre.klaki.net/Check out my open-source email sanitizer: http://mailtools.anomy.net/