On Wed, Apr 1, 2009 at 5:52 PM, John Hardin <jhar...@impsec.org> wrote: > On Wed, 1 Apr 2009, alexus wrote: > >> okay, we like really far away from original thread, i said that >> SpamAssassin runs really slow for me and on top of that I even found which >> plugin causing that, which is this: >> >> loadplugin Mail::SpamAssassin::Plugin::DNSEval >> >> I had to disable it, if someone can suggest something in order to make it >> work faster i'm all ears > > How fast are non-SA DNS queries on that box? If they take ten seconds to > return an answer, SA is not the culprit.
without dns they are 0.1 - 1.5s, with DNS they are ~7s > Review your /etc/resolv.conf to see if the first resolver listed is > responding quickly. You may want to rearrange them. I use local caching, so it's as fast as it gets > It's good practice to use a local caching DNS server. Are you resolving via > a caching DNS server on your local network, or is the SA box resolving > directly via your ISP DNS servers or other public DNS servers? If the > latter, consider installing a caching DNS server on the SA box and use that > for name resolution. > > -- > John Hardin KA7OHZ http://www.impsec.org/~jhardin/ > jhar...@impsec.org FALaholic #11174 pgpk -a jhar...@impsec.org > key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C AF76 D822 E6E6 B873 2E79 > ----------------------------------------------------------------------- > ...in the 2nd amendment the right to arms clause means you have > the right to choose how many arms you want, and the militia clause > means that Congress can punish you if the answer is "none." > -- David Hardy, 2nd Amendment scholar > ----------------------------------------------------------------------- > Today: April Fools' day > -- http://alexus.org/