[Mimedefang] SpamAssassin Report

Barry Byrne barry.byrne at wbtsystems.com
Wed Feb 26 05:10:01 EST 2003


Jeff:

Change the second line to:

	$fixed_report =~ s/\n+/\n\t/g;

SA 2.50 has blank lines in the middle of it's reports so, this should work.

 - Barry

>
> I have the following two lines in my mimedefang-filter during the
> SpamAssassin check,
>             $fixed_report =~ s/\n+\z//g;        # fixes for
>             $fixed_report =~ s/\n/\n\t/g;       # to stop sendmail
> It worked fine, but for some reason ever since I installed SpamAssassin
> 2.50, the report now includes a blank line after the last line in the
report
> and the line which says "End of SpamAssassin Report" which messes up the
> headers.  How do I remove the blank line?




More information about the MIMEDefang mailing list