Subject: Re: Fixed! (was Re: Sendmail not listening on port 25 in NetBSD 2.0)
To: Mike Cheponis <mac@Wireless.Com>
From: Robert Elz <kre@munnari.OZ.AU>
List: netbsd-help
Date: 01/17/2005 19:22:07
    Date:        Mon, 17 Jan 2005 02:24:01 -0800 (PST)
    From:        Mike Cheponis <mac@Wireless.Com>
    Message-ID:  <Pine.NEB.4.61.0501170219430.299@S.Culver.Net>

  | Turns out the problem was starting with the wrong .mc file in
  | /usr/share/sendmail/cf

No, it was running the "right" one, just not one appropriate for what
you wanted.

By default, NetBSD installs with no net services enabled at all - everything
requires you to enable it - I noticed from your port list that you had sshd
running, plus telnet, ftp, and a bunch more.   All of those, you turned on
(or someone did for you).

Sendmail used to be that way too - not running until configured and enabled.

But that meant, that no mail could get delivered, even mail that was
entirely within the system - like the daily & security mail to root,
and more.   That isn't really desirable.

So, sendmail was enabled again (so local mail works), but with a specific
configuration that allows connections only from the loopback interface
(from within the system).  Nothing from outside, just like nothing else
from outside is enabled by default.

The only real difference is what you need to do to alter it.   As you found,
that's to install a new sendmail config fie that is appropriately set up
for your system (either use one of the examples, or create one).

kre