On Thu, Oct 19, 2000 at 02:16:45AM -0300, Vinko Vrsalovic wrote:

[snip...]

> I have installed and configured qmail and it works _only_ if I 
> connect locally to the server (ie telnet localhost 25), otherwise 

This is probably because the server knows its own IP address. See below.

> I have to wait between 1:30 and 2 minutes for the welcome message to appear,
> and then it doesn't get the rules that i set in tcp.smtp and i can deliver
> locally only.

Since you mention the tcp.smtp rules file I assume you're using
tcpserver. By default, tcpserver attempts to look up the hostname of the
sending box before passing control to qmail-smtpd. It also tries to get
ident information.

If you don't run an internal DNS server it won't be able to get the
former. It will time out waiting for the DNS response. Most likely your
internal machines aren't running any form of identd either, so it will
also time out on the latter.

You should use the -R and -H options on the command line of the
tcpserver that controls qmail-smtpd. Those options will prevent
tcpserver from attempting to look up either the hostname or the ident
information.

    man tcpserver

for more information.

[snip...]

> Thanks,
> Vinko

HTH,

Tim

Reply via email to