Modified Spam Report to replace the default Mailscanner simple spam report

Alex Neuman van der Hans alex at
Thu Jun 29 16:02:06 IST 2006

I have no spaces in my headers... But I would use the following options:

Non Spam Actions = deliver header "X-Spam-Flag: NO"
High Scoring Spam Actions = deliver header "X-Spam-Flag: YES"
Spam Actions = deliver header "X-Spam-Flag: YES"

... to achieve the same result, without modifying languages.conf at all.

Michael Schneider wrote:
> Hi all,
> In the Mailscanner.conf file, there is an option to use a detailed
> report or the simple spam/not spam report that is set in languages.conf.
>  We have Novell GroupWise 6.5 and it looks for the following header: 
> X-Spam-Flag: YES to determine whether to place messages in our Junk Mail
> folder or our Inbox.  I have modifed the languages.conf to insert
> X-Spam-Flag: YES to the header instead of spam when a message exceeds
> the spam threshold.  Additionally, I have set the Spam Header to:  "Spam
> Header ="
> My problem is, GroupWise apparently does not like any spaces at the
> beginning or end of the header, but Mailscanner puts a space in there. 
> The following is cut from the header of an email that was detected as
> Found to be clean
>  X-Spam-Flag: YES
> X-MailScanner-SpamScore: sssss
> Is there any way I can remove this space?
> Thanks for your help!
> Michael Schneider
> Network/Systems Administrator
> Northwest State Community College
> 22-600 State Route 34
> Archbold, OH 43502-9542
> Phone:  419-267-1202
> Fax:       419-267-3688
> Email:    mschneider at

More information about the MailScanner mailing list