<br><br><div class="gmail_quote">2009/7/23 Mauricio Tavares <span dir="ltr">&lt;<a href="mailto:raubvogel@gmail.com">raubvogel@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
        I received a spam mail from one of my other accounts in which their spamassassin detected the spam. That is fine, nothing specially really. But what it had that was interesting to me was the amount of info shown on the body of the message about the said spam:<br>

<br>
=============================%&lt; ====================================<br>
Spam detection software, running on the system &quot;<a href="http://freenet9.afn.org" target="_blank">freenet9.afn.org</a>&quot;, has<br>
identified this incoming email as possible spam.  The original message<br>
has been attached to this so you can view it (if it isn&#39;t spam) or label<br>
similar future email.  If you have any questions, see<br>
the administrator of that system for details.<br>
<br>
   [...]<br>
<br>
Content analysis details:   (6.9 points, 5.0 required)<br>
<br>
 pts rule name              description<br>
---- ---------------------- --------------------------------------------------<br>
 0.0 MISSING_MID            Missing Message-Id: header<br>
 1.3 MISSING_HEADERS        Missing To: header<br>
 1.0 BAYES_60               BODY: Bayesian spam probability is 60 to 80%<br>
                            [score: 0.6317]<br>
 0.0 HTML_MESSAGE           BODY: HTML included in message<br>
 1.5 MIME_HTML_ONLY         BODY: Message only has text/html MIME parts<br>
 0.0 FORGED_OUTLOOK_HTML    Outlook can&#39;t send HTML message only<br>
 3.1 FORGED_MUA_OUTLOOK     Forged mail pretending to be from MS Outlook<br>
<br>
The original message was not completely plain text, and may be unsafe to<br>
open with some email clients; in particular, it may contain a virus,<br>
or confirm that your address can receive spam.  If you wish to view<br>
it, it may be safer to save it to a file and open it with an editor.<br>
<br>
=============================%&lt; ====================================<br>
<br>
A lot of that MailScanner already does, but in a shorthand version on the header. Is there a way to do something like the above, as in append that to the top of the body of the mail that by now is already defanged?<br><font color="#888888">
-- <br>
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">mailscanner@lists.mailscanner.info</a><br>
<a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" target="_blank">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
<br>
Before posting, read <a href="http://wiki.mailscanner.info/posting" target="_blank">http://wiki.mailscanner.info/posting</a><br>
<br>
Support MailScanner development - buy the book off the website! <br>
</font></blockquote></div><br>Hi<br><br>change following values as below and you&#39;ll get *all* that info in the headers.<br><br clear="all"><p>
<code>Spam Score Number Format = %5.2f</code>
</p>

<p>
<code>Detailed Spam Report = yes</code>
</p>

<p>
<code>Include Scores In SpamAssassin Report = yes</code>
</p>

<p>
<code>Always Include SpamAssassin Report = yes</code>
</p>

<p>
<code>Spam Score Number Format = %5.2f</code>
</p><br>-- <br>Martin Hepworth<br>Oxford, UK<br>