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 2018/10/01 17:06:28 UTC
svn commit: r1842522 - /spamassassin/trunk/rulesrc/sandbox/hege/20_hk.cf
Author: hege
Date: Mon Oct 1 17:06:28 2018
New Revision: 1842522
URL: http://svn.apache.org/viewvc?rev=1842522&view=rev
Log:
Use mimeheader
Modified:
spamassassin/trunk/rulesrc/sandbox/hege/20_hk.cf
Modified: spamassassin/trunk/rulesrc/sandbox/hege/20_hk.cf
URL: http://svn.apache.org/viewvc/spamassassin/trunk/rulesrc/sandbox/hege/20_hk.cf?rev=1842522&r1=1842521&r2=1842522&view=diff
==============================================================================
--- spamassassin/trunk/rulesrc/sandbox/hege/20_hk.cf (original)
+++ spamassassin/trunk/rulesrc/sandbox/hege/20_hk.cf Mon Oct 1 17:06:28 2018
@@ -3,8 +3,10 @@
#### Basic stuff
####
-header HK_CTE_RAW Content-Transfer-Encoding =~ /^raw$/
+ifplugin Mail::SpamAssassin::Plugin::MIMEHeader
+mimeheader HK_CTE_RAW Content-Transfer-Encoding =~ /^raw$/
score HK_CTE_RAW 1
+endif
header HK_RCVD_IP_MULTICAST X-Spam-Relays-External =~ / ip=(?:22[4-9]|23[0-9])\./
score HK_RCVD_IP_MULTICAST 1