Jussi Paju schreef: > On Tue, 23 Oct 2007, Paul van der Vlis wrote: > >> Paul van der Vlis schreef: >> >>> A customer of me is still working with IMP 3.2.6 what comes with Debian >>> Sarge. >>> >>> I moved the machine to another network and now sending mail has become >>> very slow (takes about 28-30 seconds after pressing the "send" button). >> >> I removed the function gethostbyaddr() in the code and the problem is >> gone... > > Machine has wrong nameserver settings and therefore attemps to do > nslookups timeout and cause the delay. Fix the servers network settings > and the problem should go away.
But which nameserver settings do you mean? Do you mean /etc/resolv.conf? /etc/nsswitch.conf? They seem all correct to me. I don't have problems with this commands: nslookup <ip> nslookup <name> dig <ip> dig -t MX <domain> With regards, Paul van der Vlis. -- http://www.vandervlis.nl/ -- IMP mailing list - Join the hunt: http://horde.org/bounties/#imp Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: [EMAIL PROTECTED]