Message variable reference

Mark Sapiro mark at
Mon Aug 1 02:27:00 UTC 2016

On 07/31/2016 06:45 PM, Eoin Kim wrote:
> Could someone please tell me where the value is for $spamreport
> variable? I am currently customising the whole report messages and can’t
> find out where $spamreport variable points to. The message file is
> ‘’. I guess the related setting is configured
> in MailScanner.conf file? Thanks a lot in advance.

$spamreport is set by the IsSpam routine in the MailScanner/
module depending on what is found in the message. These are things like
high SpamAssassin score, blacklisted, etc. It is not a fixed value or a
configuration setting.

Mark Sapiro <mark at>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

More information about the MailScanner mailing list