You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by kb...@apache.org on 2017/10/18 23:19:59 UTC

svn commit: r1812595 - /spamassassin/branches/3.4/rules/60_whitelist.cf

Author: kb
Date: Wed Oct 18 23:19:59 2017
New Revision: 1812595

URL: http://svn.apache.org/viewvc?rev=1812595&view=rev
Log:
Bug 7256, using a header rule with an eval() function does not work the way
this was intended.

Remove HEADER_HOST_IN_BLACKLIST and *_WHITELIST rules.


Modified:
    spamassassin/branches/3.4/rules/60_whitelist.cf

Modified: spamassassin/branches/3.4/rules/60_whitelist.cf
URL: http://svn.apache.org/viewvc/spamassassin/branches/3.4/rules/60_whitelist.cf?rev=1812595&r1=1812594&r2=1812595&view=diff
==============================================================================
--- spamassassin/branches/3.4/rules/60_whitelist.cf (original)
+++ spamassassin/branches/3.4/rules/60_whitelist.cf Wed Oct 18 23:19:59 2017
@@ -68,13 +68,16 @@ body      URI_HOST_IN_WHITELIST eval:che
 describe  URI_HOST_IN_WHITELIST Host or Domain is listed in the user's URI white-list
 tflags    URI_HOST_IN_WHITELIST userconf nice noautolearn
 
-header 	  HEADER_HOST_IN_BLACKLIST eval:check_uri_host_listed('BLACK')
-describe  HEADER_HOST_IN_BLACKLIST Host or Domain in header is listed in the user's URI black-list
-tflags    HEADER_HOST_IN_BLACKLIST userconf noautolearn
+# Bug 7256, using a header rule with an eval() function does not work the way
+# this was intended.
 
-header 	  HEADER_HOST_IN_WHITELIST eval:check_uri_host_listed('WHITE')
-describe  HEADER_HOST_IN_WHITELIST Host or Domain in header is listed in the user's URI white-list
-tflags    HEADER_HOST_IN_WHITELIST userconf nice noautolearn
+# header    HEADER_HOST_IN_BLACKLIST eval:check_uri_host_listed('BLACK')
+# describe  HEADER_HOST_IN_BLACKLIST Host or Domain in header is listed in the user's URI black-list
+# tflags    HEADER_HOST_IN_BLACKLIST userconf noautolearn
+
+# header    HEADER_HOST_IN_WHITELIST eval:check_uri_host_listed('WHITE')
+# describe  HEADER_HOST_IN_WHITELIST Host or Domain in header is listed in the user's URI white-list
+# tflags    HEADER_HOST_IN_WHITELIST userconf nice noautolearn
 endif
 
 ###########################################################################