More descriptive body spam message

Martin Hepworth maxsec at
Thu Jul 23 13:21:43 IST 2009

2009/7/23 Mauricio Tavares <raubvogel at>

>        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:
> =============================%< ====================================
> Spam detection software, running on the system "", has
> identified this incoming email as possible spam.  The original message
> has been attached to this so you can view it (if it isn't spam) or label
> similar future email.  If you have any questions, see
> the administrator of that system for details.
>   [...]
> Content analysis details:   (6.9 points, 5.0 required)
>  pts rule name              description
> ---- ----------------------
> --------------------------------------------------
>  0.0 MISSING_MID            Missing Message-Id: header
>  1.3 MISSING_HEADERS        Missing To: header
>  1.0 BAYES_60               BODY: Bayesian spam probability is 60 to 80%
>                            [score: 0.6317]
>  0.0 HTML_MESSAGE           BODY: HTML included in message
>  1.5 MIME_HTML_ONLY         BODY: Message only has text/html MIME parts
>  0.0 FORGED_OUTLOOK_HTML    Outlook can't send HTML message only
>  3.1 FORGED_MUA_OUTLOOK     Forged mail pretending to be from MS Outlook
> The original message was not completely plain text, and may be unsafe to
> open with some email clients; in particular, it may contain a virus,
> or confirm that your address can receive spam.  If you wish to view
> it, it may be safer to save it to a file and open it with an editor.
> =============================%< ====================================
> 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?
> --
> MailScanner mailing list
> mailscanner at
> Before posting, read
> Support MailScanner development - buy the book off the website!


change following values as below and you'll get *all* that info in the

Spam Score Number Format = %5.2f

Detailed Spam Report = yes

Include Scores In SpamAssassin Report = yes

Always Include SpamAssassin Report = yes

Spam Score Number Format = %5.2f

Martin Hepworth
Oxford, UK
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the MailScanner mailing list