[imp] Sending mail really slow

Paul van der Vlis paul at vandervlis.nl
Tue Oct 23 15:06:40 UTC 2007


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/



More information about the imp mailing list