Koozali.org: home of the SME Server

Checking email from internet takes ages

Mark Thomas

Checking email from internet takes ages
« on: May 10, 2002, 11:08:07 AM »
Hi,

I posted this topic a while back and had a few good answers, (thanks!) but
unfortunatley none of them worked.

I have worked out that e-smith takes ages to reverse dns lookup  my companies firewalls external IP address - it doesnt have a DNS entry - just an IP.

Where could i put this ip, to speed up the connction process, as at the moment it can take upto 1 minute to connect. (I.e. would putting it in the /etc/hosts file help? I dont think so, but hey!)

And how could i turn off reverse dns lookups?

Mark

Nathan Fowler

Re: Checking email from internet takes ages
« Reply #1 on: May 10, 2002, 06:14:07 PM »
If you update your /etc/resolv.conf you could prevent DNS lookups from taking ages.  The synax is:

search
nameserver

This would speed up your DNS lookups because the E-Smith server wouldn't have to broadcast DNS requests.

Nathan

Shad Lords

Re: Checking email from internet takes ages
« Reply #2 on: May 11, 2002, 08:29:12 AM »
The problem isn't with reverse lookup of the dns entry it is with the ident lookup.  Take a look at /etc/xinetd.conf.  There are some option at the top and some other under imap and pop-3

-Shad

Mark Thomas

Re: Checking email from internet takes ages
« Reply #3 on: May 11, 2002, 08:23:18 PM »
Ok thanks Shad,

I have had a look at this file - but i am not really sure what I should be looking at!

What options do i need to change?

Thanks

MarkShad Lords wrote:
>
> The problem isn't with reverse lookup of the dns entry it is
> with the ident lookup.  Take a look at /etc/xinetd.conf.
> There are some option at the top and some other under imap
> and pop-3
>
> -Shad

Les Mikesell

Re: Checking email from internet takes ages
« Reply #4 on: May 12, 2002, 10:58:15 AM »
Take the USERID items out of the log_on_success and log_on_failure entries at the top of xinetd.conf.   Of course you have to do this in a templates-custom file to make the change stay.  You probably have a firewall dropping the ident replies from machines that send them and/or the icmp replies from machines that don't so you end up waiting for a timeout trying to get the userid.

Mark Thomas

Re: Checking email from internet takes ages
« Reply #5 on: May 13, 2002, 09:14:29 PM »
Cool!

This works - thanks for the great replies one and all!

MarkT