You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by he...@apache.org on 2020/04/10 08:45:38 UTC

svn commit: r1876357 - /spamassassin/trunk/rulesrc/sandbox/khopesh/20_khop_experimental.cf

Author: hege
Date: Fri Apr 10 08:45:37 2020
New Revision: 1876357

URL: http://svn.apache.org/viewvc?rev=1876357&view=rev
Log:
Bug 7770 - KHOP_HELO_FCRDNS falsely triggers if HELO is uppercase.

Modified:
    spamassassin/trunk/rulesrc/sandbox/khopesh/20_khop_experimental.cf

Modified: spamassassin/trunk/rulesrc/sandbox/khopesh/20_khop_experimental.cf
URL: http://svn.apache.org/viewvc/spamassassin/trunk/rulesrc/sandbox/khopesh/20_khop_experimental.cf?rev=1876357&r1=1876356&r2=1876357&view=diff
==============================================================================
--- spamassassin/trunk/rulesrc/sandbox/khopesh/20_khop_experimental.cf (original)
+++ spamassassin/trunk/rulesrc/sandbox/khopesh/20_khop_experimental.cf Fri Apr 10 08:45:37 2020
@@ -120,7 +120,7 @@ tflags	 __BOTNET_NOTRUST	nopublish # con
 
 
 # Note: unfair regarding RFC 2821, see http://en.wikipedia.org/wiki/FCrDNS#Uses
-header __HELO_NOT_RDNS	X-Spam-Relays-External =~ /^[^\]]+ rdns=(\S+) helo=(?!\1)\S/
+header __HELO_NOT_RDNS	X-Spam-Relays-External =~ /^[^\]]+ rdns=(\S+) helo=(?!(?i)\1)\S/
 meta	 KHOP_HELO_FCRDNS	__HELO_NOT_RDNS && !(__VIA_ML || __freemail_safe || __RCVD_IN_DNSWL || __NOT_SPOOFED || __RDNS_SHORT)
 describe KHOP_HELO_FCRDNS	Relay HELO differs from its IP's reverse DNS
 score	 KHOP_HELO_FCRDNS	0.4 # 20090603