Lost, lost, lost!

OK, I'm a newbie with most of this stuff, but I'm having a problem invoking 
smtp with tcpserver. Trying this:
--------------------------------------------------------
tcpserver -v -R -x /etc/tcpcontrol/smtp.cdb 0 pop-3 
/var/qmail/bin/qmail-popup hoss.willysworkshop.com \
/bin/checkpassword /usr/sbin/relay-ctrl-allow /var/qmail/bin/qmail-pop3d 
Maildir
2>&1 | \
/var/qmail/bin/qmail-smtpd \
/var/qmail/bin/splogger pop3d &
--------------------------------------------------------
results in this:
--------------------------------------------------------
[root@hoss smtpd]# 220 hoss.willysworkshop.com ESMTP
502 unimplemented (#5.5.1)
--------------------------------------------------------
and this on my POP client:
--------------------------------------------------------
Could not connect to "hoss.willysworkshop.com" Cause: connection 
refused(10061)
--------------------------------------------------------
What am I doing wrong with the tcpserver invocation?

>From: Charles Cazabon <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: Fwd: Re: Relay-ctrl and qmail: problem more fundamental, I 
>think
>Date: Wed, 28 Feb 2001 13:11:57 -0600
>
>Bill Isaacs <[EMAIL PROTECTED]> wrote:
> >
> > I have a feeling I'll get laughed at, but here goes.
>
>No, laughing is reserved for people who send mail like "qmail isn't working
>for me.  Why?" to the mailing list.
>
> > I'm not using svscan.  This is what I have in (*gulp*) inetd.conf:
> >
> > smtp    stream tcp nowait qmaild /var/qmail/bin/tcp-env tcp-env
> > /var/qmail/bin/qmail-smtpd
>
>Okay.  You need to change this; take it out of inetd.conf and kill -HUP
>inetd.  Start qmail-smtpd with tcpserver -- if you want, you can
>supervise and svscan it as well.  The tcpserver invocation must include the
>option and value "-x /etc/tcpcontrol/smtp.cdb".
>
>So the problem was that the .cdb file was never being consulted, and 
>therefore
>the RELAYCLIENT environment variable was not being set (conditionally or 
>not).
>
>Charles
>--
>-----------------------------------------------------------------------
>Charles Cazabon                            <[EMAIL PROTECTED]>
>GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
>Any opinions expressed are just that -- my opinions.
>-----------------------------------------------------------------------

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

Reply via email to