From: Ivan Rako <irako@bagan.srce.hr>
Date: Wed, 16 Apr 2008 12:43:26 +0000 (+0200)
Subject: db_seen u config za rbl
X-Git-Tag: debian/2.7.1-1~18
X-Git-Url: http://ftp.carnet.hr/pub/carnet-debian/scm?a=commitdiff_plain;h=88564c1403777e253f88c344e4a759cedaefac98;p=postfix-cn.git

db_seen u config za rbl
---

diff --git a/debian/config b/debian/config
index 21c6760..e6bc1d9 100755
--- a/debian/config
+++ b/debian/config
@@ -5,7 +5,12 @@ set -e
 # Load debconf
 . /usr/share/debconf/confmodule
 
+if dpkg --compare-versions "$2" lt 2.3.8-5; then
+  db_fset postfix-cn/rbl seen false
+  db_go
+fi
 db_input high postfix-cn/rbl || true
+
 db_input critical postfix-cn/matchgecos || true
 
 db_go || true
diff --git a/debian/templates b/debian/templates
index ac69910..30d8bec 100644
--- a/debian/templates
+++ b/debian/templates
@@ -1,6 +1,6 @@
 Template: postfix-cn/rbl
 Type: multiselect
-Choices: zen.spamhaus.org, bl.spamcop.net, dnsbl.njabl.org, zen.dnsbl-sh.carnet.hr
+Choices: zen.dnsbl-sh.carnet.hr, zen.spamhaus.org, bl.spamcop.net, dnsbl.njabl.org
 Description: Koje RBL zelite?
  Postfix moze prilikom provjere primanja e-mail poruka provjeriti da li
  je posiljatelj zavrsio na nekoj od RBL (Realtime Blackhole List) listi.