Subject: Re: sendmail: problems with basic configuration
To: None <netbsd-help@NetBSD.org>
From: Chuck Yerkes <chuck+nbsd@2004.snew.com>
List: netbsd-help
Date: 03/10/2004 01:01:24
Quoting Emanuele R. (emarsk@infinito.it):
> Chuck Yerkes wrote:
> 
> >telnet 127.0.0.1 25
> >
> >does it work?
> >
> >Also you likely want to change that "localdomain" junk.
> >
> >Quoting Emanuele R. (emarsk@infinito.it):
> > 
> >
> >>I followed step by step the instructions on the guide for mailing setup 
> >>(chapter 13), but when i try to send the test message to myself i got 
> >>this failure:
> >>-----
> >>rsk... Connecting to localhost.localdomain. via relay...
> >>rsk... Deferred: Connection refused by localhost.localdomain.
> >>-----
> >>rsk is the name of my local account, of course.
> >>Anyboby got a clue?
> >>Thanks.
> >>   
> >>
> # telnet 127.0.0.1 25
> Trying 127.0.0.1...
> telnet: Unable to connect to remote host: Connection refused

Well, there would be the big indicator.  Sendmail is not longer
set uid in 8.12 (since 2 years ago or so).  When you mail
something, a sendmail runs as YOU, connects to localhost (using
submit.cf) and the localhost daemon (using sendmail.cf) takes it
and makes it be mail.

You got nothing listening.