The problem is your first line in tcp.smtp.cdb.  Remove the :deny.  You
want to allow the connections but NOT set the RELAYCLIENT environment
variable which is the default behaviour.

On Fri, 1 Oct 1999, Ed Weinberg wrote:

> I am trying to run qmail on my firewall.  Until now we were picking up
> the mail by pop using fetchmail.  
> 
> qmail on the sending machine tells me that the firewall started to
> respond, then dropped.  When I telnet from inside the firewall to port
> 25 it works fine.
> 
> When I telnet to port 25 from outside the firewall I get:
> 
> Trying x.x.x.x...
> Connected to [servername].
> Escape character is '^]'.
> Connection closed by foreign host.
> 
> Here is how tcpserver and qmail are started:
>         /usr/local/bin/tcpserver \
>            -x /etc/tcp.smtp.cdb \
>            -u 91 -g 90 0 smtp \
>            /var/qmail/bin/qmail-smtpd &
> 
> I know we should be using private ip addresses inside, but we are not
> (blame it on the previous administration), and this should not cause
> this problem.  We want people on the inside (the 100 network) to be
> able to use the firewall as a relay...and that works.
> Here is the content of tcp.smtp which holds the rules compiled to
> tcp.smtp.cdb:
> :deny
> 127.0.0.1:allow,RELAYCLIENT=""
> 100.0.:allow,RELAYCLIENT=""
> 
> I have the domain I am accepting mail for in locals.
> I have the domain I am accepting mail for in rcpthosts.
> I do not think that my ipfwadm commands are stopping it.
> 
> Am I missing something?
> 
> If you need the machine name to look at it from the outside let me
> know.
> 
> Thanks.
>   --  Ed Weinberg,
>       Detel, Inc., An Internet Presence Provider
>       [EMAIL PROTECTED]
> 

---------------------------------
Timothy L. Mayo                         mailto:[EMAIL PROTECTED]
Senior Systems Administrator
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