===========================================================================
$NetBSD: MESSAGE,v 1.7 2017/07/21 04:08:15 schmonz Exp $

Please read ${PREFIX}/share/doc/qmail-run/README.pkgsrc.

To enable qmail for...

Local and outgoing deliveries:
- Check the configuration files in ${PKG_SYSCONFDIR}
- Replace /etc/mailer.conf with share/examples/qmail-run/mailer.conf
- In /etc/rc.conf, set
    qmailsend=YES

Local non-root users to see the queue:
- Change the mailq entry in /etc/mailer.conf to qmail-qread-client
- In /etc/rc.conf, set
    qmailqread=YES

Incoming SMTP deliveries:
- In /etc/rc.conf, set
    qmailsmtpd=YES
    qmailsmtpd_postenv="QMAILQUEUE=${PREFIX}/bin/qmail-qfilter-smtpd-queue RCPTCHECK=${PREFIX}/bin/qmail-rcptcheck"

Filtering incoming SMTP:
- List qmail-qfilter programs in ${PKG_SYSCONFDIR}/control/smtpfilters
- List qmail-rcptcheck programs in ${PKG_SYSCONFDIR}/control/rcptchecks

Outgoing submissions with SMTP AUTH over TLS:
- Incorporate share/examples/qmail-run/stunnel.conf into your stunnel.conf
- Consider that your checkpassword binary may need to be setuid root
- Copy share/examples/qmail-run/spamdyke-ofmipd.conf to ${PKG_SYSCONFBASE}
- In /etc/rc.conf, set
    qmailofmipd=YES
    qmailofmipd_preofmipd="${PREFIX}/bin/spamdyke --config-file ${PKG_SYSCONFBASE}/spamdyke-ofmipd.conf"
    stunnel=YES

Fetching Maildirs via POP3:
- In /etc/rc.conf, set
    qmailpop3d=YES

===========================================================================
