post_install() {
    # Fix ownership of smtpctl for old systems
    sysusers /usr/lib/sysusers.d/opensmtpd.conf
    chgrp smtpq /usr/bin/smtpctl
    chmod 2555 /usr/bin/smtpctl
    echo "for runit link /usr/lib/runit/sv/opensmtpd to /etc/runit/runsvdir/default/ "
    echo "for 66 install opensmtpd-66serv and 66-enable -t treename opensmptpd "
}

post_upgrade() {
    post_install
    echo "for runit link /usr/lib/runit/sv/opensmtpd to /etc/runit/runsvdir/default/ "
    echo "for 66 install opensmtpd-66serv and 66-enable -t treename opensmptpd "
}

post_uninstall() {
    echo "remember to disable the runit and/or 66 openntpd service"
}
