*BSD News Article 49211


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.kei.com!news.mathworks.com!tank.news.pipex.net!pipex!dispatch.news.demon.net!demon!jraynard.demon.co.uk!jraynard.demon.co.uk!not-for-mail
From: james@jraynard.demon.co.uk (James Raynard)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Changing /etc/services
Date: 22 Aug 1995 23:31:38 -0000
Organization: A FreeBSD box
Lines: 27
Message-ID: <41dpcq$9ol@jraynard.demon.co.uk>
References: <41b5ep$oi9@news.bu.edu>
NNTP-Posting-Host: localhost
X-NNTP-Posting-Host: jraynard.demon.co.uk

In article <41b5ep$oi9@news.bu.edu>, Mikhail Teterin <mi@cs.bu.edu> wrote:
>What should I do to make inetd wake up telnet on the socket
>25?
>	I've already:
>		removed `-bd' option from sendmail's command line
>		copied lines with 23-socket description and changed
>		23 to 25.
>

I'm not quite clear what you've done or why you want to do it, but
this is a very bad idea. There are standards which state what these
'well-known ports' should be used for and you will confuse anything 
that assumes your system behaves in a standard way.

Presumably telnet on port 25 fails now because there is something else
that is expecting to find SMTP on the other end. On my (vanilla) system,
telnet localhost 25 gives:

(usual telnet banner)
220-jraynard.demon.co.uk Sendmail 8.6.11/8.6.9 ready at Tue, Aug 22 1995 23:26:34 GMT
220 ESMTP spoken here

James
-- 
"If English was good enough for Jesus Christ, it's good enough for me."
[Southern US Congressman]