[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-developers] Raq4 Mail server connection issue



<SNIP>
> It sounds like a reverse look-up issue!
> sendmail will try to do a gethostbyaddr()
> which can take 25 seconds / try....
> The insane thing is that after a failure, it will log it, and then go ahead
> and perform it's function.
> IIRC there is a way to defeat the lookup, but I try to fix things! Check
> the ip addresses that have the long delay for proper reverse
> functionality.... dig -x ip.ad.re.ss
>
> If their reverse doesn't work, you or the client must tell their ISP to fix
> it!
</snip>

A little fix I did when we had a few clients who's ISP didn't assign reverse 
IPs and actually refused to (those good internet citizens that they are)
Add their ip and a fake hostname into /etc/hosts like this:
ip.ad.re.ss fake.theirdomain.com

Not a good solution especially for a lot of clients, but may help the issue 
(I'm not really sure why though, as i assumed gethostbyaddr() didnt normally 
pay attention to the hosts file, anyone with knowledge can put me right on 
that one?)

Regards,

Andy
andy@xxxxxxxxxx
http://www.raqpak.com