You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Bing Ran <bi...@gmail.com> on 2005/12/18 17:58:58 UTC
delay in connecting to server in both SMTP and POP3
Hi,
I just installed the 2.2 release on a 2003 box. When I set up an account in
outlook and was trying to test the connections it always failed. I went
ahead finishing the setting up. It turned out the I can use the email
account sending and receiving emails. The only problem is that connecting to
the server takes anywhere between 5-15 seconds, other than the instantaneous
response from other email servers.
The network connection to my email server is pretty fast and a ping reply
takes only 23 ms. But using a telnet to simulate a client request to the
james server takes quite a few seconds to see the prompt. I don't have
special firewall settings for SMTP or POP3.
What might be the cause of this?
Please help me to get started with James.
Thanks
Bing Ran
Re: delay in connecting to server in both SMTP and POP3
Posted by Bing Ran <bi...@gmail.com>.
It seems to have solved my problem!
2005/12/19, Bing Ran <bi...@gmail.com>:
>
> I guess I do. Here is the relavant section in the config.xml file:
>
> <dnsserver>
> <servers>
> <server>202.96.209.5</server>
> <server> 202.96.199.133</server>
> </servers>
> <autodiscover>true</autodiscover>
> <authoritative>false</authoritative>
> </dnsserver>
>
> The IP addresses are valid ones.
>
> The delay really happen because my client machine does not really have a
> domain name.
>
> I'm looking at a solution now from this article and see if that would
> solve my problem: http://www.oreillynet.com/pub/wlg/8453
>
> Is this the right direction to go?
>
>
>
>
> 2005/12/19, Noel J. Bergman < noel@devtech.com>:
> >
> > > the problem is associated with the reverse SND lookup caused by the
> > > remoteHost = socket.getInetAddress ().getHostName ();
> >
> > Do you have a DNS server defined? Why are you getting delays?
> >
> > --- Noel
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> > For additional commands, e-mail: server-user-help@james.apache.org
> >
> >
>
Re: delay in connecting to server in both SMTP and POP3
Posted by Bing Ran <bi...@gmail.com>.
I guess I do. Here is the relavant section in the config.xml file:
<dnsserver>
<servers>
<server>202.96.209.5</server>
<server>202.96.199.133</server>
</servers>
<autodiscover>true</autodiscover>
<authoritative>false</authoritative>
</dnsserver>
The IP addresses are valid ones.
The delay really happen because my client machine does not really have a
domain name.
I'm looking at a solution now from this article and see if that would solve
my problem: http://www.oreillynet.com/pub/wlg/8453
Is this the right direction to go?
2005/12/19, Noel J. Bergman <no...@devtech.com>:
>
> > the problem is associated with the reverse SND lookup caused by the
> > remoteHost = socket.getInetAddress ().getHostName ();
>
> Do you have a DNS server defined? Why are you getting delays?
>
> --- Noel
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
>
RE: delay in connecting to server in both SMTP and POP3
Posted by "Noel J. Bergman" <no...@devtech.com>.
> the problem is associated with the reverse SND lookup caused by the
> remoteHost = socket.getInetAddress ().getHostName ();
Do you have a DNS server defined? Why are you getting delays?
--- Noel
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
Re: delay in connecting to server in both SMTP and POP3
Posted by Bing Ran <bi...@gmail.com>.
Ok, the problem is associated with the reverse SND lookup caused by the
remoteHost = socket.getInetAddress ().getHostName ();
in many of the handlers.
Any suggestions as how to improve the performance?
thanks
bing
2005/12/19, Bing Ran <bi...@gmail.com>:
>
> Yes I have NAV on the client computer. Don't think that's the problem
> though, because I can reproduce the problem with the NAV disabled. Again,
> using telnet client to talk to pop3 port shows the delay happens after the
> server receives the connection request and before displying the prompt.
>
> Any other possibilities?
>
> Bing
>
>
> 2005/12/19, Noel J. Bergman <no...@devtech.com>:
> >
> > Connections to JAMES are instantaneous. We don't have an early-talker
> > plug-in for SMTP, yet.
> >
> > Do you have Norton AntiVirus or similar installed on either the client
> > or
> > server?
> >
> > --- Noel
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> > For additional commands, e-mail: server-user-help@james.apache.org
> >
> >
>
Re: delay in connecting to server in both SMTP and POP3
Posted by Bing Ran <bi...@gmail.com>.
Yes I have NAV on the client computer. Don't think that's the problem
though, because I can reproduce the problem with the NAV disabled. Again,
using telnet client to talk to pop3 port shows the delay happens after the
server receives the connection request and before displying the prompt.
Any other possibilities?
Bing
2005/12/19, Noel J. Bergman <no...@devtech.com>:
>
> Connections to JAMES are instantaneous. We don't have an early-talker
> plug-in for SMTP, yet.
>
> Do you have Norton AntiVirus or similar installed on either the client or
> server?
>
> --- Noel
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
>
RE: delay in connecting to server in both SMTP and POP3
Posted by "Noel J. Bergman" <no...@devtech.com>.
Connections to JAMES are instantaneous. We don't have an early-talker
plug-in for SMTP, yet.
Do you have Norton AntiVirus or similar installed on either the client or
server?
--- Noel
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org