On Thu, 28 Jan 1999, Dave Hansen wrote:
> Hello All,
>
> I have this in my inetd.conf
>
> smtp stream tcp nowait qmaild /usr/sbin/tcpd
> /var/qmail/bin/tcp-env /var/qmail/bin/qmail-smtpd
>
> This makes it so that hosts.allow file is used to allow boxes to send mail
> to this box. Although now I cannot send anything to the box. It gives me a
> read error connection reset. If I dont have this line everyone is allowed
> to relay. Has anyone delt with this problem before?
As said in other replies, make sure thatthat is all on one
line, or use a \ on the first line to continue to the second line.
Also, check your various log files to see if there's a problem
(aka missing qmaild user, etc..)..
Another test is to try telnet'ing into port 25 and see if you
get the SMTP banner, or if it drops your connection...
About the relaying... wrong... the default configuration
sets-up /var/qmail/control/rcpthosts. As long as rcpthosts is there,
relaying is controlled... if you rm'd this file, then you opened
yourself up... read the FAQ....
-Dustin