Rulesets case sensitive ??

Julian Field mailscanner at ecs.soton.ac.uk
Fri Jun 27 10:19:04 IST 2003


At 09:53 27/06/2003, you wrote:
>At 07:47 27/06/2003, you wrote:
>>I have the same problem with spam blacklists.
>>
>>Although I raised this issue some weeks ago and it was decided that there
>>shouldn't be any problem, it still doesn't work. I now have two lines in
>>my blacklists:
>>From:           @GlobalAutoIndustry.com         yes
>>From:           @globalautoindustry.com         yes
>>
>>If I use only one, mails with different casing still get
>>through.
>
>And there's me sitting there looking at the line in RuleToRegexp which
>converts the rule statement to lower case :-(

And I just checked the ruleset checking code as well, and it does all
comparisons with an "i" on the end which says to ignore case. You must have
a dead buggy version of Perl :-(

>>On Wed, 25 Jun 2003, Raymond Dijkxhoorn wrote:
>> > I noticed that one one of my setups i had a ruleset that had a different
>> > case type as in the config, and it wasnt working, dont you convert spam
>> > list names to uper of lower case somewhere ?
>> >
>> > In had for example in the ruleset:
>> >
>> > Osirusoft.com instead of osirusoft.com and it didnt work ...
>> > Same for SpamHouse.org :)
>
>Have definitely fixed that one now. Have added a couple of calls to "lc" to
>lower-case it.

--
Julian Field
www.MailScanner.info
MailScanner thanks transtec Computers for their support



More information about the MailScanner mailing list