> > From: vikas sinha [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, March 15, 2001 7:24 PM
> > Subject: HELP SMTP problem
> >
> >
> > I just installed qmail1.03-i386.rpm on my RedHat6.0(kernel 2.2.9)
> > It seems SMTP is not working properly. When I try to send
> > e-mail by pine.
> >  It complained "SMTP greeting failure: 421 SMTP connection went away".
> >
> >  IF I try to telnet localhost 25, here is the response
> >  telnet localhost 25
> >  Trying 127.0.0.1...
> >  Connected to localhost.
> >  Escape character is '^]'.
> >  Connection closed by foreign host.
> >
> > When i Checked the /var/qmail/bin/qmail-smtpd status
> > it showed
> > 220 hostname ESMTP
> > 502 unimplemenetd (#5.5.1)

I'm experiencing something very similar: When telnet'ing to port 25 of 
localhost (i.e., `telnet localhost 25`) I also receive the message 
"Connection closed by foreign host." but not an entry in /var/log/messages.

My configuration is slightly different: My RH-7.0 uses xinetd so the 
/etc/xinetd.d/smtp file has this entry (from the xinetd FAQ page: 
http://www.xinetd.org/faq.html#qmail)...

service smtp
{
        flags           = REUSE NAMEINARGS
        socket_type     = stream
        protocol        = tcp
        wait            = no
        user            = qmaild
        server          = /usr/sbin/tcpd
        server_args     = /var/qmail/bin/tcp-env -R 
/var/qmail/bin/qmail-smtpd
}

...and the /etc/hosts.allow file has a single entry...

ALL:ALL

Local delivery works between users though system-aliases (e.g., .qmail-root) 
do not.

Please help.

Eric P.
Los Gatos, CA
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

Reply via email to