Re: mysql domain lookups

From: Dick Middleton (no email)
Date: Mon Sep 03 2007 - 14:01:02 EDT

  • Next message: Leandro Santi: "Re: smtpd(8) stress behaviour, disconnect on 5XX ???"

    Dave McGuire wrote:

    >> Luckily mysql seems to be able to do the job but I hate to think how
    >> many cpu cycles it uses.
    >>
    >> query = SELECT helo FROM country WHERE '%s' RLIKE CONCAT('\\.', code,'$')
    >>
    >> :-)
    >
    > Ouch! I hope you have query caching enabled on your database server. ;)

    It did work but I've reverted back to hash tables of course.

    Dick


  • Next message: Leandro Santi: "Re: smtpd(8) stress behaviour, disconnect on 5XX ???"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD