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]

Reply via email to