qmail ONLY uses DNS.  In your case it is tcp-env that is doing the DNS
lookups.  /etc/hosts entries will not work. If you don't want the phone
connection to occur, you will need to run a DNS on the qmail box which
knows about your local machines.

On Thu, 14 Jan 1999, Mike Gerber wrote:

> Thank you for your answer, Russell!
> 
> >  > Am I right that qmail-pop3d gets the hostnames of the clients 
> >  > (which do not have any)? And that because of this, the line goes 
> >  > up? (Can't get the host that actually causes the dialup (via 
> >  > tcpdump), because the clients are masqueraded behind the server)
> > Whenever you access a server hosted by tcpserver, tcpserver attempts
> > to set several environment variables.  Two of these, TCPREMOTEHOST and
> > TCPLOCALHOST, are set to the reverse DNS entry for the remote and
> > local IP address.
> 
> hmm. Unfortunately I'm using inetd (now). Are there any 
> experiences? Would entries in /etc/hosts for the local machines be 
> ok for inetd?
> (I will switch to tcpserver when installing new systems but I
> would like to stay with inetd on this system)
>  
> > The other place where qmail accesses the DNS is in qmail-remote.
> 
> According to the Qmail-"Big Picture" qmail-remote is only used 
> when sending mail. Am I Right? DNS lookups are ok when sending 
> mails.
> 
> 
> Mike.
> 

---------------------------------
Timothy L. Mayo                         mailto:[EMAIL PROTECTED]
Senior Systems Manager
localconnect(sm)
http://www.localconnect.net/

The National Business Network Inc.      http://www.nb.net/
One Monroeville Center, Suite 850
Monroeville, PA  15146
(412) 810-8888 Phone
(412) 810-8886 Fax

Reply via email to