limit to the amount of white/blacklist rules.

Julian Field MailScanner at
Thu Aug 21 09:47:28 IST 2008

Eduardo Casarero wrote:
> Hi, does anyone know if there is a theorically limit to the amount of 
> white/blacklist rules that MailScanner can handle? I've searched the 
> archives and there is only 1 email without answer saying that he had 
> 40k of rules and some random problems.
> I pretend to use them through a CustomFunction (&SQLWhitelist y 
> &SQLBlacklist).
If you implement it as a straight text ruleset, I wouldn't advise more 
than a thousand or so rules, as it has to check them in order and it 
will just gradually get slower as you add more rules. There is no 
theoretical limit, however.

However, if you use a Custom Function to produce the answer, then you 
can of course make your logic as complicated as you like, it's your code.


Julian Field MEng CITP CEng
Buy the MailScanner book at

Need help customising MailScanner?
Contact me!
Need help fixing or optimising your systems?
Contact me!
Need help getting you started solving new requirements from your boss?
Contact me!

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.

More information about the MailScanner mailing list