[Mimedefang] SpamAssassin Report

Jeff Grossman jeff at stikman.com
Wed Feb 26 08:27:01 EST 2003


on 2/26/03 2:09 AM, Barry Byrne at barry.byrne at wbtsystems.com wrote:

> 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?


Thank you.  I just made the change and will let you know how it works out.

Jeff
-- 
Jeff Grossman (jeff at stikman.com)




More information about the MIMEDefang mailing list