[Mimedefang] SpamAssassin Report
Jeff Grossman
jeff at stikman.com
Tue Feb 25 23:20:00 EST 2003
I have the following two lines in my mimedefang-filter during the
SpamAssassin check,
$fixed_report =~ s/\n+\z//g; # fixes for multiline header
$fixed_report =~ s/\n/\n\t/g; # to stop sendmail
complaining
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?
Here is a copy of the report which is put in the e-mail headers:
X-Spam-Report: ---- Start SpamAssassin results
10.40 points, 8 required;
* 0.1 -- BODY: Free Offer
* 0.1 -- BODY: Claims you can be removed from the list
* 0.9 -- BODY: No such thing as a free lunch (2)
* 2.2 -- BODY: Talks about how to be removed from mailings
* 0.5 -- BODY: Message is 60% to 70% HTML
* 0.2 -- BODY: HTML included in message
* 0.1 -- BODY: HTML link text says "click here"
* 0.1 -- BODY: Includes a URL link to send an email
* 0.5 -- RAW: Quoted-printable line longer than 76 characters
* 4.3 -- Forged mail pretending to be from IMS
* 0.5 -- Message has X-MSMail-Priority, but no X-MimeOLE
* 0.2 -- Asks you to click below
* 0.4 -- Spam tool pattern in MIME boundary
* 0.3 -- Message looks like Outlook, but isn't
---- End of SpamAssassin results
X-Scanned-By: MIMEDefang 2.30 (www . roaringpenguin . com / mimedefang)
You will notice there is a blank line before the "End of SpamAssassin
results".
Thanks,
Jeff
--
Jeff Grossman (jeff at stikman.com)
More information about the MIMEDefang
mailing list