On Mon, May 14, 2001 at 10:10:21AM -0000, David Killingsworth wrote:
> I have narrowed this to one simple item. Could someone, possibly you Gerrit
> I know you have answered one way to get around this I just wanna understand
> why I have to get around it, explain to me why qmail has delivered an email
> to me that contains the following header:
> 
> Received: from unknown (HELO dali.onevision.de) (@212.77.172.50)
>          by mail.myweb.net with SMTP; 14 May 2001 08:59:56 -0000
> 
> I have tcpserver -DUvp wrapping smtpd for qmail. 
> 
> Shouldn't tcpserver drop the connection when $TCPREMOTEIP is DNS'd to 
> a hostname and $TCPREMOTEHOST is DNS'd to an IP. if $TCPREMOTEIP can't 
> be resolved or if $TCPREMOTEHOST can't be resolved, shouldn't this cause
> a FATAL in tcpserver? and it will drop the incoming connection?

tcpserver *only* rejects connections if told to do so by the rules
supplied with -x or -X. What rules have you tried?

You should be able to get tcpserver to drop connections that do not
have TCPREMOTEHOST set by putting these entries in your rules:

=.:allow
:deny


Regards.



> 
>  David.
> 
> On Mon, 14 May 2001 10:51:33 +0200, "Gerrit Pape" <[EMAIL PROTECTED]>
> wrote :
> 
> > On Mon, May 14, 2001 at 06:30:44AM -0000, David Killingsworth wrote:
> > > I have been running qmail for about 8 months, It works great.
> > > So far I have not been able to resolve on problem.
> > > When an smtp connection comes in we only want to connect
> > > with servers who have forward and reverse DNS that match.
> > >
> > I allready anwered your question in alt.comp.mail.qmail some days ago.
> What
> > is wrong with my answer?
> > 
> > Gerrit.
> > 
> > -- 
> > [EMAIL PROTECTED]
> >                                                         innominate AG
> >                                                  the linux architects
> > tel: +49.30.308806-0  fax: -77              http://www.innominate.com
> > 
> > 
> > 

Reply via email to