Beta 4.55.1

Alex Neuman van der Hans alex at nkpanama.com
Fri Jun 2 19:54:12 UTC 2006


Julian Field wrote:
> I don't like headers that give away things like the version number. It 
> just gives more information to potential hackers. You can always put 
> it into your X-MailScanner-Information: header, if you use that header 
> at all.
>
> Alex Neuman van der Hans wrote:
>> Will give it a shot. One question... Besides the obvious (adding a 
>> header in spam-actions and/or non-spam actions), is there a way for 
>> someone to turn on and off (perhaps a bit of a patch to message.pm, 
>> IANAP) a header specifying the mailscanner version?
>
I meant as an option. If I wanted to add it to 
"X-MailScanner-Information:", is there a variable I could use to 
indicate it?

I could use it in a ruleset, for example:

Information Header Value = %rules-dir%/xinfo.rules

xinfo.rules:

FromOrTo:   default    Please contact the ISP for more information
To:   *@nkpanama.com   MailScanner Version %version%

Would something like this work?



More information about the MailScanner-Beta mailing list