#!/bin/sh set -e # Load debconf . /usr/share/debconf/confmodule db_input high postfix-cn/rbl || true if dpkg --compare-versions "$2" lt 2.1.5-8; then db_fset postfix-cn/matchgecos seen false db_go fi db_input critical postfix-cn/matchgecos || true db_get postfix-cn/upgrade-from-sendmail || true upgrade_yes="$RET" if [ "$upgrade_yes" = "false" ]; then exit 1 fi db_go || true db_stop || true