Beta 4.55.1
Julian Field
MailScanner at ecs.soton.ac.uk
Sat Jun 3 11:44:50 UTC 2006
Alex Neuman van der Hans wrote:
> 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?
That's a very good idea, thankyou. Edit /usr/sbin/MailScanner and add
this at about line 296.
MailScanner::Config::SetPercent('version',$MailScanner::Config::MailScannerVersion);
This will set %version% to be the version number for you.
I will put this in the next release.
--
Julian Field
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.
More information about the MailScanner-Beta
mailing list