+-----------------------------------------------------------------------
| Getting started with OpenSMTPD on NetBSD 
+-----------------------------------------------------------------------

Assuming NetBSD-style mailwrapper(8) and rc(8), few steps are required
to set up OpenSMTPD for local and outbound delivery on your system: 

* Explictely disable Postfix to prevent it from listening on smtp/smtps
  ports. To do this, run`$ /etc/rc.d/postfix stop' and set
  postfix=NO in /etc/rc.conf.

* Replace /etc/mailer.conf with /usr/pkg/share/examples/opensmtpd/mailer.conf.
  This will instruct mailwrapper(8) to invoke OpenSMTPD in place of
  Postfix when executing sendmail-compatible commands.

* Copy the sample rc.d service script provided as
  /usr/pkg/share/examples/rc.d/opensmtpd to /etc/rc.d

* Import the pam policy file for the smtp protocol by copying
  /usr/pkg/share/examples/pam.d/smtp to /etc/pam.d 

* Prepend /usr/pkg/man to the MANPATH environment to avoid conflicting
  names in man pages with Postfix.

* Check the smtpd.conf and aliases files in /usr/pkg/etc/smtpd. See 
  the relevant man pages, including smtpd.conf(5).

* Set opensmtpd=YES in /etc/rc.conf to enable the service upon startup,
  and run `$ /etc/rc.d/opensmtpd start' to start OpenSMTPD.
