Frequently changing rules

Simon Dick simon at ADVANTAGE-INTERACTIVE.COM
Fri Mar 12 16:06:18 GMT 2004


On Fri, 2004-03-12 at 11:50, Julian Field wrote:
> At 11:35 12/03/2004, you wrote:
> >Is there any way to tell MailScanner to reread rules more frequently
> >than just when the process restarts? This is mainly so I can control
> >things via rules rather than CustomConfig add ons as I'd rather not do a
> >mysql request for each thing!
> >
> >Any suggestions welcome
>
> I would still use CustomConfig add-ons to do it as it will be a lot faster
> than hunting rulesets each time you need a value. I suspect you are talking
> about per-user rules where the addresses that are matched by the rulesets
> probably don't overlap anyway, so you really just want to do a hash table
> lookup on the email address to get the result for that address.

A quick question, is there any way to tell which config option is
calling a CustomConfig item? As with any reasonable number of items it
can get very unweildy.



More information about the MailScanner mailing list