From: Ivan Rako Date: Mon, 17 Feb 2014 19:44:36 +0000 (+0100) Subject: postvlja bayes_auto_expire na 0 X-Git-Tag: debian/2%3.3.5~2 X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=commitdiff_plain;h=f66fb4651481ac215af954d08750a31c73839765;p=spamassassin-cn.git postvlja bayes_auto_expire na 0 --- diff --git a/debian/changelog b/debian/changelog index 4a758a6..1919e4e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +spamassassin-cn (2:3.3.5) stable; urgency=low + + * bayes_auto_expire postavlja na 0 + + -- Ivan Rako Mon, 17 Feb 2014 20:30:48 +0100 + spamassassin-cn (2:3.3.4) stable; urgency=low * update paketa za Wheezy 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 diff --git a/local.cf b/local.cf index 631141f..66200b6 100644 --- a/local.cf +++ b/local.cf @@ -10,7 +10,7 @@ bayes_auto_learn 1 bayes_auto_learn_threshold_nonspam -0.001 bayes_auto_learn_threshold_spam 10.0 bayes_use_hapaxes 1 -bayes_auto_expire 1 +bayes_auto_expire 0 bayes_ignore_header ReSent-Date bayes_ignore_header ReSent-From bayes_ignore_header ReSent-Message-ID