use 'netstat --listening' while the program is running, and see if it lists
a program doing the listening.  Do it while its not running, and see if it
DOESN'T list it listening.

My program shows

[root@CIO-QMAIL1 /root]# netstat --listening
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State

tcp        0      0 *:smtp                  *:*                     LISTEN


BTW: Does your cdb file completely deny access to anything?

David


> -----Original Message-----
> From: Barley [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 05, 2000 1:34 PM
> To: [EMAIL PROTECTED]
> Subject: Re: connection refused on port 25
> 
> 
> 
> > Hi,
> > is there a space between -x and /etc/tcp.smtp.cdb ?
> > if so, remove it. that's the only thing that looks suspicous...
> 
> There sure was a space. I changed it and did a full reboot so 
> I didn't miss
> restarting anything. No dice. Connections to port 25 still refused. :(
> 
> >
> > ;) a
> >
> > ==============================================
> > Alexander Jernejcic
> > email:[EMAIL PROTECTED]
> >
> > begin LOVE-LETTER-UND-NIX-DAZUGELERNT.txt.vbs
> > I am a Signature, not a Virus!
> > end
> >
> > ==============================================
> >
> > > -----Original Message-----
> > > From: Barley [mailto:[EMAIL PROTECTED]]
> > > Sent: Thursday, October 05, 2000 9:48 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: connection refused on port 25
> > >
> > >
> > >
> > > > hi,
> > > > please post your startupscript. seems a to by a typo at 
> the call of
> > > tcpserver...
> > > >
> > >
> > > My startup script: (/var/qmail/supervise/qmail-smtpd/run)
> > > #!/bin/bash
> > > QMAILUID=`id -u qmaild`
> > > NOFILESGID=`id -g qmaild`
> > > exec /usr/local/bin/softlimit -m 2000000
> /usr/local/bin/tcpserver -v -p -x
> > > /etc/tcp.smtp.cdb -u $QMAILDUID -g $NOFILESGID 0 smtp
> > > /var/qmail/bin/qmail-smptpd 2>&1
> > >
> > > The exec command is all one line
> > > Thanks so much for your help!
> > >
> > > Gregg
> > >
> > >
> > > > ;) a
> > > >
> > > > ==============================================
> > > > Alexander Jernejcic
> > > > email:[EMAIL PROTECTED]
> > > >
> > > > begin LOVE-LETTER-UND-NIX-DAZUGELERNT.txt.vbs
> > > > I am a Signature, not a Virus!
> > > > end
> > > >
> > > > ==============================================
> > > >
> > > > > -----Original Message-----
> > > > > From: Barley [mailto:[EMAIL PROTECTED]]
> > > > > Sent: Thursday, October 05, 2000 8:29 PM
> > > > > To: [EMAIL PROTECTED]
> > > > > Subject: connection refused on port 25
> > > > >
> > > > >
> > > > > qmail is refusing my connection on port 25. 
> qmail-smtpd seems to be
> up
> > > and
> > > > > running fine. I catted the most recent file in the 
> log directory
> (not
> > > sure
> > > > > how you're supposed to use multilog) and it had a ton of lines
> saying:
> > > > >
> > > > > tcpserver: fatal: no IP address for 510
> > > > >
> > > > > over and over and over. Does this have anything to do with my
> failure to
> > > > > connect on port 25? How can I track down why qmail is refusing
> > > connections?
> > > > >
> > > > > Thanks a lot for your help so far. The qmail 
> community is obviously
> > > > > well-informed and knowledgable, which after working 
> with MTA's for a
> > > while I
> > > > > can see is tough stuff to master. I look forward to 
> poking around my
> > > > > (working ;) qmail setup and learning more.
> > > > >
> > > > > Gregg
> > > > >
> > > > >
> > > >
> > >
> > >
> >
> 

Reply via email to