I can now use qmail's smtpd, but I have to manually start svscan by `cd
/var/qmail/svscan; /usr/local/bin/svscan &` (I used /var/qmail instead of /service),
with the help of scripts from "live with qmail", qmail get started by svscan, then I
use `/etc/init.d/qmail stop`, then `tcpserver -x/usr/local/etc/tcp.smtp.cdb -u103
-g102 0 smtp /var/qmail/bin/qmail-smtpd &`, then `/etc/init.d/qmail start`, at last I
find qmail all working ok.
But the problem comes when I make some changes to qmail's configuration, then I have
to stop svscan, stop qmail, stop tcpserver, and start over manually again. I know
there must be a much cleverer way to start and stop this set of things. I also don't
know how to start up svscan as the server starts up, I applied scripts from "live with
qmail" to /etc/rc2.d/S79svscan, but the server complains that it has no permission to
access some supervision files. How should I do it? Thanks in advance!
----- Original Message -----
From: "Vince Vielhaber" <[EMAIL PROTECTED]>
To: "Xionghui Chen" <[EMAIL PROTECTED]>
Sent: Monday, May 08, 2000 12:48 AM
Subject: Re: Unable to Telnet
> On Mon, 8 May 2000, Xionghui Chen wrote:
>
> > Thank you, I followed the instructions at the URL you kindly provided, but when I
>finally run
> > `tcpserver -x/usr/local/etc/tcp.smtp.cdb -u103 -g102 0 smtp
>/var/qmail/bin/qmail-smtpd &`
> > I got "tcpserver: fatal: unable to bind: address already used" and tcpserver Exit
>111.
> > What's wrong? I also installed svscan, but when I killed svscan and qmail, I got
>the same message.
>
> Make sure there's no other tcpserver/qmail-smtpd running and that there's
> no sendmail process running.
>
> Vince.
>
> >
> > ----- Original Message -----
> > From: "Vince Vielhaber" <[EMAIL PROTECTED]>
> > To: "Xionghui Chen" <[EMAIL PROTECTED]>
> > Cc: <[EMAIL PROTECTED]>
> > Sent: Sunday, May 07, 2000 11:57 PM
> > Subject: Re: Unable to Telnet
> >
> >
> > > On Sun, 7 May 2000, Xionghui Chen wrote:
> > >
> > > > Oh, I don't know that I have to config a /etc/tcp.smtp.cdb file, actually, I
>got no output with the command `find / -name tcp.smtp.cdb`. How should I make this
>kind of file, where can I get detailed document about it? Thank you.
> > >
> > > Take a look here: http://www.palomine.net/qmail/selectiverelay.html for
> > > a step by step.
> > >
> > > Vince.