Re: RFC: Second attempt at sieving for public folders

From: Lawrence Greenfield (leg plus at andrew dot cmu dot edu)
Date: Fri Nov 09 2001 - 08:59:34 EST


   From: Amos Gouaux <+>
   Date: Fri, 09 Nov 2001 00:15:07 -0600

[...]
   What about all the stats looking for the script? Could that be a
   problem? If so, could a db be used as a Sieve script index, like
   the mailboxes.db?

If we're going to worry about Sieve performance, we really should look
into compiling scripts to a byte-code. Currently we run lex/yacc on a
script on _every delivery_. This is pretty painful, and is memory
inefficient as well as time inefficient.

It should be relatively easy to compile the scripts to a bytecode we
could just mmap() and run through very quickly, but not easy enough
that I can write it out in one day. :^)

Larry








Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD