Thoughts please: 4.54.4 as a stable?

Julian Field MailScanner at ecs.soton.ac.uk
Sat May 27 13:55:28 IST 2006


Denis Beauchemin wrote:
> Julian Field a écrit :
>>
>>
>> Nick Smith wrote:
>>> Just wondering - was this deliberate (4.54.5 vs 4.54.2)?
>>>
>>> bash-3.00# diff -ur /opt/MailScanner/etc/filetype.rules.conf.orig
>>> filetype.rules.conf
>>> --- /opt/MailScanner/etc/filetype.rules.conf.orig       Wed Apr 12 
>>> 09:45:43 2006
>>> +++ filetype.rules.conf.orig    Tue May 23 07:52:42 2006
>>> @@ -7,7 +7,7 @@
>>> # If none of the rules match, then the filetype is allowed.
>>>
>>> allow  text            -                       -
>>> -allow  script          -                       -
>>> +allow  \sscript        -                       -
>>> allow  archive         -                       -
>>> allow  postscript      -                       -
>>> deny   self-extract    No self-extracting archives     No
>>> self-extracting archives allowed
>> Entirely intentional. Matching on "script" matches "postscript" as 
>> well, which isn't what I wanted. Matching "\sscript" will match a 
>> space followed by the word "script".
>>
> Julian,
>
> Wouldn't it be safer to use \bscript instead?  It would also match at 
> the beginning of the line or after some special character.
But that would catch '-script' which I don't want to. I really do want 
just "foobar script".

-- 
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 mailing list