Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Tips/Tricks/Mods

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 24th March 2010, 04:09
billcouper81 billcouper81 is offline
Junior Member
 
Join Date: Dec 2009
Posts: 29
Thanks: 2
Thanked 4 Times in 3 Posts
 
Default Tip if your SpamAssassin DNS Blacklist tests timeout

I was pulling my hair out over this one for a good half a day, reading and re-reading configuration file options at the spamassassin wiki

My problem was that 99 times out of 100, all of the dns blacklist tests were failing with a timeout error.. increasing the timeout to 90 seconds didn't help either... strangely, sometimes one or two of the tests would succeed

Mail::SpamAssassin::Plugin:NS only uses the first nameserver in /etc/resolv.conf BUT setting it to anything other than localhost results in failed tests... I tried all of my nameservers seperately, as the first nameserver in the resolv.conf file, but always it was failing for me with timeout errors... yet if I did a DIG using my specified nameserver the response was returned very quickly, so it was baffling to say the least...

Set your first nameserver to 0.0.0.0

/etc/resolv.conf
Code:
nameserver 0.0.0.0
........
Once I made this change every check is running successfully and in less than 1 second
Reply With Quote
The Following User Says Thank You to billcouper81 For This Useful Post:
falko (24th March 2010)
Sponsored Links
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISP Config hesitation when opening web pages frankb Installation/Configuration 7 15th December 2008 13:06
Squid Proxy Caching on Linux obzerver Installation/Configuration 4 13th August 2008 19:51
Ubuntu 8.04 Spamsnake - all SA scores 0.00 Thomas_Powers HOWTO-Related Questions 23 24th June 2008 17:37
Google Apps dayjahone General 19 29th March 2008 17:25
DNS Configuration Problems VMartins Installation/Configuration 10 24th July 2007 14:40


All times are GMT +2. The time now is 19:10.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.