Subject: Re: install/21999: localhost.domain not correctly set in /etc/hosts file
To: William Allen Simpson <wsimpson@greendragon.com>
From: Alan Barrett <apb@cequrux.com>
List: tech-install
Date: 06/28/2003 11:40:25
Bill,

If I understand correctly, the real problem is that, on a NetBSD-current
system newly installed via sysinst with all the default options,
the daily reports do not pass through the email sysem properly, and this is
described in PR 21998.  The localhost.dom.ain issue described in PR 21999
seems to be neither necessary nor sufficient for solving the real problem
of PR 21998.

Could you check whether appending the following lines to /etc/rc.conf
solves the real problem?

    # Local mail delivery seems to require sendmail and smmsp.
    # For smmsp, the $smmsp_flags from /etc/defaults/rc.conf are OK.
    # For sendmail, append extra flags to make it bind only to localhost.
    smmsp=YES
    sendmail=YES ; sendmail_flags="${sendmail_flags}
	    -ODaemonPortOptions=Family=inet,Addr=127.0.0.1,Name=MTA
	    -ODaemonPortOptions=Family=inet6,Addr=::1,Name=MTA6"

--apb (Alan Barrett)