# $Id: postinstall,v 1.2 2004/05/29 21:20:29 elkner Exp $ if [ -z "$PKG_INSTALL_ROOT" ]; then BASE="" else BASE=${PKG_INSTALL_ROOT} fi if [ ! -f ${BASE}/etc/mail/dkim/dkim-filter.conf ]; then if [ -f ${BASE}/etc/mail/dkim/dkim-filter.conf.sample ]; then cp -p ${BASE}/etc/mail/dkim/dkim-filter.conf.sample ${BASE}/etc/mail/dkim/dkim-filter.conf fi fi echo " To start and stop the dkim filter daemon immediately, use svcadm enable dkim-filter" echo " To activate the dkim filter in sendmail, you should add the following line to your sendmail m4 configuration file (e.g. server.mc), generate a new sendmail.cf and finally restart sendmail: INPUT_MAIL_FILTER(\`dkim-filter',\`S=local:/var/milter/dkim/dkim-filter.sock,T=C:10s;S:10s;R:5m;E:10m')"