On 11/17/2011 11:54 AM, Christian Clemmen wrote:
On Thu, 17 Nov 2011 11:01:10 -0700 Eric Shubert<[email protected]>  wrote

On 11/17/2011 05:37 AM, Christian Clemmen wrote:
some other posts also talk about a possible DNS problem....
(nslookup seems ok)

How do I check this?

"dig" (cli command) a few domains, and check the results.
That will tell you what server is being used.

for info my blacklists check is:

more  /var/qmail/control/blacklists
-r zen.spamhaus.org

If you're using spamdyke installed by the qtp-install-spamdyke script,
the blacklists file (rblsmtpd) is no longer being used. Blacklists are
specified in spamdyke.conf file instead.


then it is
dns-blacklist-entry=zen.spamhaus.org
dns-blacklist-entry=bl.spamcop.net

When I comment these 2 lines, it's a bit faster : 10-12 sec (instead of  20-25
sec with the lines ) to have the Welcome message




With the dig command, I saw that only the second name server in
/etc/resolv.conf was used...
I put the 2nd line first in the /etc/resolv.conf ... and the Welcome message
comes directly....

There is probably a problem with this DNS...

All is OK now...

THX to all of you!



Yes, there was/is a problem with the nameserver you had specified in /etc/resolv.conf. You really should have a resolver running on your QMT host. If you don't, a simple way to get (a very good) one going is:
# yum install pdns-recursor
# chkconfig pdns-recursor on
# service pdns-recursor start
then add
nameserver 127.0.0.1
as the first line in the /etc/resolv.conf file.

That should get you going nicely.

P.S. Don't forget to uncomment out your blacklist entries in spamdyke.conf. ;)
--
-Eric 'shubes'


---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
     If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
    Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: [email protected]
    For additional commands, e-mail: [email protected]


Reply via email to