+ PKG_PATH=/nfs/packages/Linux/el9/trunk/x86_64/All + /opt/tools/sbin/pkg_add -K /usr/pkg/.pkgdb digest-20220214 mktools-20220614 cwrappers-20220403 checkperms-1.12 php81-iconv-8.1.28 php81-squirrelmail-1.4.23pre14997 pkg_add: package `mktools-20220614' already recorded as installed pkg_add: package `cwrappers-20220403' already recorded as installed pkg_add: no pkg found for 'php81-iconv-8.1.28', sorry. xmlcatmgr-2.2nb1: copying /usr/pkg/share/examples/xmlcatmgr/catalog.etc.sgml to /usr/pkg/etc/sgml/catalog xmlcatmgr-2.2nb1: copying /usr/pkg/share/examples/xmlcatmgr/catalog.etc.xml to /usr/pkg/etc/xml/catalog xmlcatmgr-2.2nb1: copying /usr/pkg/share/examples/xmlcatmgr/catalog.share.sgml to /usr/pkg/share/sgml/catalog xmlcatmgr-2.2nb1: copying /usr/pkg/share/examples/xmlcatmgr/catalog.share.xml to /usr/pkg/share/xml/catalog openssl-3.3.0nb1: copying /usr/pkg/share/examples/openssl/openssl.cnf to /usr/pkg/etc/openssl/openssl.cnf php-8.1.28: copying /usr/pkg/share/examples/php/php.ini-production to /usr/pkg/etc/php.ini php81-gettext-8.1.28: copying /usr/pkg/share/examples/php/gettext.ini to /usr/pkg/etc/php.d/gettext.ini /bin/chgrp: invalid group: ‘www’ /bin/chown: invalid user: ‘www’ /bin/chgrp: invalid group: ‘www’ php81-squirrelmail-1.4.23pre14997: copying /usr/pkg/share/examples/php81/squirrelmail/data/.htaccess to /var/spool/squirrelmail/data/.htaccess php81-squirrelmail-1.4.23pre14997: copying /usr/pkg/share/php81/squirrelmail/data/default_pref to /var/spool/squirrelmail/data/default_pref php81-squirrelmail-1.4.23pre14997: copying /usr/pkg/share/examples/php81/squirrelmail/data/index.php to /var/spool/squirrelmail/data/index.php php81-squirrelmail-1.4.23pre14997: copying /usr/pkg/share/examples/php81/squirrelmail/squirrelmail.conf to /usr/pkg/etc/httpd/squirrelmail.conf php81-squirrelmail-1.4.23pre14997: copying /usr/pkg/share/php81/squirrelmail/config/config_default.php to /usr/pkg/share/php81/squirrelmail/config/config.php =========================================================================== The following directories are used by php81-squirrelmail-1.4.23pre14997 and have the wrong ownership and/or permissions: /var/spool/squirrelmail/data (m=755, o=www, g=www) /var/spool/squirrelmail/attachments (m=730, o=root, g=www) =========================================================================== pkg_add: 1 package addition failed =========================================================================== $NetBSD: MESSAGE,v 1.1 2021/11/27 07:24:43 taca Exp $ To process PHP scripts, you will need a PHP-enabled HTTP server. You may either configure the HTTP server to use the PHP CGI binary located in /usr/pkg/libexec/cgi-bin/php or you may install a PHP module for your HTTP server, e.g. www/ap-php. =========================================================================== =========================================================================== $NetBSD: MESSAGE,v 1.6 2011/07/13 12:22:43 taca Exp $ Please run the SquirrelMail configuration script: cd /usr/pkg/share/php81/squirrelmail/config && ./conf.pl to customize the SquirrelMail webmail system for your site. You will need to make SquirrelMail accessible through your HTTP server. If you are running Apache and ap-php, then you may either symlink /usr/pkg/share/php81/squirrelmail into DocumentRoot, or add the following line to httpd.conf: Include /usr/pkg/etc/httpd/squirrelmail.conf to make IMAP accounts accessible through: http://www.example.com/squirrelmail/ And please refer Release Notes for important changes: http://www.example.com/squirrelmail/doc/ReleaseNotes ===========================================================================