+ PKG_PATH=/data/packages/Linux/el8/trunk/x86_64/All
+ /opt/tools/sbin/pkg_add -K /usr/pkg/.pkgdb digest-20220214 mktools-20220614 nbpatch-20151107 cwrappers-20220403 checkperms-1.12 imap-uw-2007fnb12 ncurses-6.5 openldap-client-2.6.9 openssl-3.3.2 pico-4.10nb2
pkg_add: package `mktools-20220614' already recorded as installed
pkg_add: package `cwrappers-20220403' already recorded as installed
openssl-3.3.2: copying /usr/pkg/share/examples/openssl/openssl.cnf to /usr/pkg/etc/openssl/openssl.cnf
cyrus-sasl-2.1.28nb1: Creating user ``cyrus''
[sss_cache] [confdb_init] (0x0010): Unable to open config database [/var/lib/sss/db/config.ldb]
Could not open available domains
[sss_cache] [confdb_init] (0x0010): Unable to open config database [/var/lib/sss/db/config.ldb]
Could not open available domains
openldap-client-2.6.9: copying /usr/pkg/share/examples/openldap/ldap.conf to /usr/pkg/etc/openldap/ldap.conf
pkg_add: package `openssl-3.3.2' was already installed as dependency, now marked as installed manually
===========================================================================
$NetBSD: MESSAGE,v 1.4 2006/07/26 20:00:27 jlam Exp $

Add the following to /etc/services (if not already there):

 imap		143/tcp		# Internet Message Access Protocol
 imap		143/udp

Add the following to /etc/inetd.conf:

 imap   stream  tcp     nowait  root    /usr/pkg/libexec/imapd    imapd
 pop2   stream  tcp     nowait  root    /usr/pkg/libexec/ipop2d   ipop2d
 pop3   stream  tcp     nowait  root    /usr/pkg/libexec/ipop3d   ipop3d

You will need to make inetd reload its configuration for the changes to
take effect.

===========================================================================
===========================================================================
$NetBSD: MESSAGE.ssl,v 1.1 2006/07/26 20:00:27 jlam Exp $

Add the following to /etc/services (if not already there):

 imaps		993/tcp		# imap4 protocol over TLS/SSL
 imaps		993/udp		# imap4 protocol over TLS/SSL
 pop3s		995/tcp		# pop3 protocol over TLS/SSL (was spop3)
 pop3s		995/udp		# pop3 protocol over TLS/SSL (was spop3)

Add the following to /etc/inetd.conf:

 imaps  stream  tcp     nowait  root    /usr/pkg/libexec/imapd    imapd
 pop3s  stream  tcp     nowait  root    /usr/pkg/libexec/ipop3d   ipop3d

The imapd daemon looks for the following files to use SSL:

    /usr/pkg/etc/openssl/certs/imapd.pem (certificate)
    /usr/pkg/etc/openssl/private/imapd.pem (private key)

and similarly for the ipopd daemon.

===========================================================================
===========================================================================
$NetBSD: MESSAGE,v 1.5 2024/04/24 12:46:59 jperkin Exp $

cyrus-sasl-2.1.28nb1 by default does *not* install any authentication plugin
modules.  Until the necessary authentication plugin modules are
installed, e.g. security/cy2-crammd5 or security/cy2-gssapi, you
will probably get errors about "no appropriate mechs available".

To allow plaintext authentication without using the auxprop mechanism,
the package security/cyrus-saslauthd should be installed.

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