X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=spamassassin-cn.git;a=blobdiff_plain;f=debian%2Fpostinst;fp=debian%2Fpostinst;h=3b4574ff0cce2ddbe7de150268e360131d408225;hp=e5d5a8f37b517e13f00d5af967b626f5d3a23645;hb=f66fb4651481ac215af954d08750a31c73839765;hpb=68f3975c757fc175357e8c28d373972231f73197 diff --git a/debian/postinst b/debian/postinst index e5d5a8f..3b4574f 100755 --- a/debian/postinst +++ b/debian/postinst @@ -238,6 +238,11 @@ if [ -f $examdir/local.cf ]; then $confdir/local.cf.$$ || true echo "CN: Activated $trusted_networks as trusted networks" + cp_check_and_sed "^bayes_auto_expire 1" \ + "s#^bayes_auto_expire .*#bayes_auto_expire 0#g" \ + $confdir/local.cf.$$ || true + echo "CN: Set bayes_auto_expire to 0" + # different than template if ! cmp -s $confdir/local.cf.$$ $confdir/local.cf; then # backup if not zero size