anomy-bugs

Re: qmail report 'partial final lines' after 1.43 upgrade

From: Bjarni R. Einarsson (07650@xyz.molar.is)
Date: Thu 06 Sep 2001 - 13:19:37 UTC

  • Next message: Frankie Cheung: "Is that a bugs or a problem?"

    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/



    hosted by molar.is