Re: done qmail installation but can't telnet to port 25
On Thu, Aug 09, 2001 at 12:31:34PM +, Jean-Christian Imbeault wrote: > I've done the lwq installation. As a test I have tried to telnet from my > mail server to itself on port 25 to see if qmail is listening. But I get a > "connection refused" message. > > I've enable telnet in inetd.conf and my /etc/tcp.smtp file looks like this: Wy do you want people to connect to port 23 of your machine? You don't need a telnet server to use a telnet client... Are you running qmail-smtpd? _How_ are you running qmail-smtpd? Via inetd or via tcpserver? -- Brian 'you Bastard' Reichert<[EMAIL PROTECTED]> 37 Crystal Ave. #303Daytime number: (603) 434-6842 Derry NH 03038-1713 USA Intel architecture: the left-hand path
Re: done qmail installation but can't telnet to port 25
Jean-Christian Imbeault <[EMAIL PROTECTED]> wrote: > I've done the lwq installation. As a test I have tried to telnet from my > mail server to itself on port 25 to see if qmail is listening. But I get a > "connection refused" message. [...] > I think qmail is running a ps -ax gives: > > 11988 ?? S 0:00.05 svscan /service > 2591 ?? S 0:00.22 readproctitle service errors: ...\nenv: > qmail-start: > 31908 ?? S 0:01.44 supervise qmail-smtpd > 10717 ?? S 0:01.45 supervise qmail-send > 32271 ?? I 0:00.01 supervise log > 20618 ?? I 0:00.01 supervise log > 6245 ?? S 0:00.10 /usr/local/bin/multilog t /var/log/qmail/stmpd > 16675 ?? I 0:00.01 /usr/local/bin/multilog t /var/log/qmail Your installation has at least two problems, just from the above output, and possibly many more. Try again, following "Life with qmail" to the letter instead of however you did it this time. Charles -- --- Charles Cazabon<[EMAIL PROTECTED]> GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ ---
Re: done qmail installation but can't telnet to port 25
> On Thu, 09 Aug 2001 13:10:34 +, "Jean-Christian Imbeault" ><[EMAIL PROTECTED]> said: >> case, tail -f /var/log/qmail/smtpd/current and start qmail. > @40003b728c052b1e1bdc tcpserver: fatal: no IP address for O Ah, then this is a configuration error. Please put the contents of /service/qmail-smtpd/run in a post. -- "Win95 not found, [P]arty, [C]elebrate, [D]rink ?"
Re: done qmail installation but can't telnet to port 25
On Thu, Aug 09, 2001 at 01:10:34PM +, Jean-Christian Imbeault wrote: > >case, tail -f /var/log/qmail/smtpd/current and start qmail. > > @40003b728c052b1e1bdc tcpserver: fatal: no IP address for O You got an O ('oh') that should be a 0 ('zero'). Unless your hostname is O ('oh') in which case it's just a resolving problem :) Greetz, Peter -- Against Free Sex! http://www.dataloss.nl/Megahard_en.html
Re: done qmail installation but can't telnet to port 25
On Thu, Aug 09, 2001 at 01:10:34PM +, Jean-Christian Imbeault wrote: > >case, tail -f /var/log/qmail/smtpd/current and start qmail. > > @40003b728c052b1e1bdc tcpserver: fatal: no IP address for O Fix your run file: you've got the letter O in there where you should have the number 0. > I'm thinking that the reason qmail is unahppy is that my machine is not on > the Internet yet. So the name the machine has will not resolve properly. That has nothing to do with it. Just change the O to 0 and you should be in business. Chris
Re: done qmail installation but can't telnet to port 25
> I've done the lwq installation. As a test I have tried to telnet from > my > mail server to itself on port 25 to see if qmail is listening. But I > get a > "connection refused" message. Too vague...you typed what exactly ? Hopefully :- telnet localhost 25 or telnet 127.0.0.1 25 > I've enable telnet in inetd.conf and my /etc/tcp.smtp file looks like > this: > > 127.:allow,RELAYCLIENT="" > 10.:allow,RELAYCLIENT="" AND... You`ve put it in /etc/tcp.smtp BUT have you built the cdb yet ? ie. qmailctl cdb OR, in case that doesn`t work tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp < /etc/tcp.smtp > I think qmail is running a ps -ax gives: > > 11988 ?? S 0:00.05 svscan /service > 2591 ?? S 0:00.22 readproctitle service errors: ...\nenv: > qmail-start: > 31908 ?? S 0:01.44 supervise qmail-smtpd > 10717 ?? S 0:01.45 supervise qmail-send > 32271 ?? I 0:00.01 supervise log > 20618 ?? I 0:00.01 supervise log > 6245 ?? S 0:00.10 /usr/local/bin/multilog t /var/log/qmail/stmpd > 16675 ?? I 0:00.01 /usr/local/bin/multilog t /var/log/qmail > You need to do :- ps waux | grep qmail to show ALL the qmail processes. ...later...Martin
Re: done qmail installation but can't telnet to port 25
>case, tail -f /var/log/qmail/smtpd/current and start qmail. @40003b728c052b1e1bdc tcpserver: fatal: no IP address for O >I can tell you now that, from >your ps output, qmail is not running. If it was, there would be a >tcpserver running as well, listening to port 25 and spawning >qmail-smtpd when you telnet there... Sorry, cut that out of the output. There is a tcpserver running. I'm thinking that the reason qmail is unahppy is that my machine is not on the Internet yet. So the name the machine has will not resolve properly. Though I was hoping I could test the machine without putting out on the Big Bad Internet. Jc _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
Re: done qmail installation but can't telnet to port 25
> On Thu, 09 Aug 2001 12:31:34 +, "Jean-Christian Imbeault" ><[EMAIL PROTECTED]> said: > I've done the lwq installation. As a test I have tried to telnet > from my mail server to itself on port 25 to see if qmail is > listening. But I get a "connection refused" message. It would appear as if you have followed Life With Qmail. Good. In this case, tail -f /var/log/qmail/smtpd/current and start qmail. See if any errors come up, and paste them here. I can tell you now that, from your ps output, qmail is not running. If it was, there would be a tcpserver running as well, listening to port 25 and spawning qmail-smtpd when you telnet there... -- Press any key to continue or any other key to quit...