> On Sat, Mar 23, 2013 at 8:01 PM, Benny Pedersen <m...@junc.eu> wrote:
>>
>> are you missing http://www.hardwarefreak.com/fqrdns.pcre ? :)
> 

On 3/25/2013 11:06 AM, Abhijeet Rastogi wrote:> How clever would it
be to deploy in production?
>
> For every mail, checking 1600 regexes doesn't seem efficient to me.
> Will it have any significant CPU usage?


I would be amazed if this has significant impact on CPU, memory, or
load, even under extreme conditions.  The file appears to be
reasonably efficient with large IF..ENDIF blocks to skip
non-matching expressions.  Looks as if most connections will test
only a small fraction of the total expressions.

And the benefit of efficiently rejecting spambots far outweighs the
slight extra measurable resource usage.  The alternatives are a
dnsbl lookup, which will use considerably more time, or filter
everything with eg. spamassassin after receipt, which will use
several orders of magnitude more resources.



  -- Noel Jones

Reply via email to