MS ruleset file sizes

Julian Field mailscanner at ecs.soton.ac.uk
Fri Mar 21 20:08:06 GMT 2003


At 19:44 21/03/2003, you wrote:
>Hi!
>
> > >What about making the rule sets in .db format. Just liek the sendmail
> > >files, saves a restart also when i only update the rulesets. Would that be
> > >possible? Faster for looking up also.
>
> > The ruleset testing involves iterating through all the rules until a match
> > is found. If they are .db format, then the order of the rules is lost,
> > which is very important. As for speed, the current lookups are done from
> > RAM, which is faster than any disk-based lookup such as .db files.
>
>So whats the current limitation, how long could those files be ? :)

As I have said elsewhere, the best approach for large config files is to
slurp them all in from a database at startup time, then look them up in
local hash tables at run time. I can't see tens of thousands causing much
of a problem. There is no hard-wired limit at all.
--
Julian Field
www.MailScanner.info
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support



More information about the MailScanner mailing list