Subject: pkg/15826: suggestion on nmh post install info
To: None <gnats-bugs@gnats.netbsd.org>
From: None <johnr@spimageworks.com>
List: netbsd-bugs
Date: 03/06/2002 20:20:08
>Number:         15826
>Category:       pkg
>Synopsis:       suggestion on nmh post install info
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 06 20:21:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     John Refling
>Release:        1.5.2
>Organization:
>Environment:
i386...
>Description:
it would be great to add some info like the following to the
post install printout...

"If you are NOT running sendmail as a daemon (ie, you don't have
sendmail=YES in /etc/rc.conf), then you MUST compile nmh with
NMH_MTA=sendmail in /etc/mk.conf) for it to be able to send.  It
will communicate by running /usr/sbin/sendmail directly.

If you ARE running sendmail as a daemon (sendmail=YES in /etc/rc.conf)
then the default compilation parameters (NMH_MTA=smtp) are OK for you
and nmh will communicate with sendmail on tcp port 25 (smtp).

The symptom of choosing the wrong one will be messages like:

post: problem initializing server; [BHST] no servers available"

This would save several hours' wasted time, especially since
NetBSD is installed now with sendmail=NO by default, at least
in /etc/defaults/rc.conf.  That makes this package not work by
default.

Thanks....

>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted: