LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File iXhash2-meta-rules.patch of Package spamassassin (Project home:pheinlein)

diff -ur iXhash2-2.05.orig/iXhash2.cf iXhash2-2.05/iXhash2.cf
--- iXhash2-2.05.orig/iXhash2.cf	2012-07-08 13:29:31.000000000 +0200
+++ iXhash2-2.05/iXhash2.cf	2012-09-26 13:41:11.874466944 +0200
@@ -1,20 +1,40 @@
 
 # Note: loadplugin should really go into local.pre or so
-loadplugin Mail::SpamAssassin::Plugin::iXhash2 iXhash2.pm
+loadplugin Mail::SpamAssassin::Plugin::iXhash2 
 
 ifplugin Mail::SpamAssassin::Plugin::iXhash2
 
-ixhashdnsbl	GENERIC_IXHASH  generic.ixhash.net.
-body		GENERIC_IXHASH  eval:check_ixhash('GENERIC_IXHASH')
-tflags		GENERIC_IXHASH  net
-
-ixhashdnsbl	NIXSPAM_IXHASH  ix.dnsbl.manitu.net.
-body		NIXSPAM_IXHASH  eval:check_ixhash('NIXSPAM_IXHASH')
-tflags		NIXSPAM_IXHASH  net
-
-ixhashdnsbl	SEM_IXHASH  ixhash.spameatingmonkey.net.
-body		SEM_IXHASH  eval:check_ixhash('SEM_IXHASH')
-tflags		SEM_IXHASH  net
+ixhashdnsbl	__GENERIC_IXHASH  generic.ixhash.net.
+body		   __GENERIC_IXHASH  eval:check_ixhash('GENERIC_IXHASH')
+tflags		__GENERIC_IXHASH  net
+
+ixhashdnsbl	__NIXSPAM_IXHASH  ix.dnsbl.manitu.net.
+body		   __NIXSPAM_IXHASH  eval:check_ixhash('NIXSPAM_IXHASH')
+tflags		__NIXSPAM_IXHASH  net
+
+ixhashdnsbl	__SEM_IXHASH  ixhash.spameatingmonkey.net.
+body		   __SEM_IXHASH  eval:check_ixhash('SEM_IXHASH')
+tflags		__SEM_IXHASH  net
+
+ixhashdnsbl __HOSTEUROPE_IXHASH  hosteurope.ixhash.net.
+body        __HOSTEUROPE_IXHASH  eval:check_ixhash('HOSTEUROPE_IXHASH')
+tflags      __HOSTEUROPE_IXHASH  net
+
+ixhashdnsbl __JUNKMAIL_IXHASH  ixhash.junkemailfilter.com.
+body        __JUNKMAIL_IXHASH  eval:check_ixhash('JUNKMAIL_IXHASH')
+tflags      __JUNKMAIL_IXHASH  net
+
+meta            IXHASH_X1       (__GENERIC_IXHASH + __NIXSPAM_IXHASH + __SEM_IXHASH + __HOSTEUROPE_IXHASH + __JUNKMAIL_IXHASH) == 1
+describe        IXHASH_X1       iXhash listed on one server
+score           IXHASH_X1       1.5
+
+meta            IXHASH_X2       (__GENERIC_IXHASH + __NIXSPAM_IXHASH + __SEM_IXHASH + __HOSTEUROPE_IXHASH + __JUNKMAIL_IXHASH) == 2
+describe        IXHASH_X2       iXhash listed on two servers
+score           IXHASH_X2       2.5
+
+meta            IXHASH_X3       (__GENERIC_IXHASH + __NIXSPAM_IXHASH + __SEM_IXHASH + __HOSTEUROPE_IXHASH + __JUNKMAIL_IXHASH) > 2
+describe        IXHASH_X3       iXhash listed on more than two servers
+score           IXHASH_X3       3.5
 
 endif