+ PKG_PATH=/nfs/packages/Linux/el7/trunk/x86_64/All + /opt/tools/sbin/pkg_add -K /usr/pkg/.pkgdb digest-20220214 mktools-20220614 nbpatch-20151107 perl-5.36.0 cwrappers-20220403 checkperms-1.12 openldap-client-2.6.3 openssl-1.1.1s zlib-1.2.13 imap-uw-2007fnb11 db4-4.8.30nb1 heimdal-7.8.0nb1 openpam-20190224nb4 tidy-5.8.0 pkg_add: package `mktools-20220614' already recorded as installed pkg_add: package `cwrappers-20220403' already recorded as installed cyrus-sasl-2.1.28nb1: Creating user ``cyrus'' openssl-1.1.1s: copying /usr/pkg/share/examples/openssl/openssl.cnf to /usr/pkg/etc/openssl/openssl.cnf openldap-client-2.6.3: copying /usr/pkg/share/examples/openldap/ldap.conf to /usr/pkg/etc/openldap/ldap.conf pkg_add: package `openssl-1.1.1s' was already installed as dependency, now marked as installed manually pkg_add: package `db4-4.8.30nb1' was already installed as dependency, now marked as installed manually flex-2.6.4: registering info file /usr/pkg/info/flex.info readline-8.2: registering info file /usr/pkg/info/history.info readline-8.2: registering info file /usr/pkg/info/readline.info readline-8.2: registering info file /usr/pkg/info/rluserman.info libffi-3.4.4: registering info file /usr/pkg/info/libffi.info heimdal-7.8.0nb1: setting permissions on /usr/pkg/bin/ksu (o=root, g=root, m=4511) heimdal-7.8.0nb1: setting permissions on /usr/pkg/bin/otp (o=root, g=root, m=4511) =========================================================================== The following files should be created for heimdal-7.8.0nb1: /etc/rc.d/kpasswdd (m=0755) [/usr/pkg/share/examples/rc.d/kpasswdd] /etc/rc.d/kdc (m=0755) [/usr/pkg/share/examples/rc.d/kdc] /etc/rc.d/kcm (m=0755) [/usr/pkg/share/examples/rc.d/kcm] /etc/rc.d/kadmind (m=0755) [/usr/pkg/share/examples/rc.d/kadmind] =========================================================================== heimdal-7.8.0nb1: registering info file /usr/pkg/info/heimdal.info heimdal-7.8.0nb1: registering info file /usr/pkg/info/hx509.info openpam-20190224nb4: copying /usr/pkg/share/examples/openpam/pam.d/other to /usr/pkg/etc/pam.d/other openpam-20190224nb4: copying /usr/pkg/share/examples/openpam/pam.d/sudo to /usr/pkg/etc/pam.d/sudo =========================================================================== $NetBSD: MESSAGE,v 1.4 2017/07/26 09:21:10 hauke 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". The configuration files for applications using the sasl2 libraries used to be in /usr/pkg/lib/sasl2/, but are now expected in /usr/pkg/etc/sasl2/. You need to move them after upgrading the pkg. cyrus-sasl-2.1.28nb1 will use the following directory as the default path to its plugin modules: /usr/pkg/lib/sasl2 The search path for plugin modules can be customized by setting the SASL_PATH variable to a colon-delimted list of directories in the shell environment. To allow plaintext authentication without using the auxprop mechanism, the package security/cyrus-saslauthd should be installed. =========================================================================== =========================================================================== $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. ===========================================================================