Message variable reference

Eoin Kim Eoin.Kim at
Mon Aug 1 02:55:42 UTC 2016


Thanks for your reply. It looks a bit more complex than I thought. I probably should not touch much then as I don't know about it really much. Thanks again.


-----Original Message-----
From: MailScanner [ at] On Behalf Of Mark Sapiro
Sent: Monday, 1 August 2016 12:27 PM
To: mailscanner at
Subject: Re: Message variable reference

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

MailScanner mailing list
mailscanner at

More information about the MailScanner mailing list