db_seen u config za rbl
authorIvan Rako <irako@bagan.srce.hr>
Wed, 16 Apr 2008 12:43:26 +0000 (14:43 +0200)
committerIvan Rako <irako@bagan.srce.hr>
Wed, 16 Apr 2008 12:43:26 +0000 (14:43 +0200)
debian/config
debian/templates

index 21c6760..e6bc1d9 100755 (executable)
@@ -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
index ac69910..30d8bec 100644 (file)
@@ -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.