You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by gb...@apache.org on 2020/01/28 16:55:49 UTC
svn commit: r1873262 - /spamassassin/trunk/rulesrc/sandbox/gbechis/20_btc.cf
Author: gbechis
Date: Tue Jan 28 16:55:49 2020
New Revision: 1873262
URL: http://svn.apache.org/viewvc?rev=1873262&view=rev
Log:
avoid meta rule, regexp should be enough
Modified:
spamassassin/trunk/rulesrc/sandbox/gbechis/20_btc.cf
Modified: spamassassin/trunk/rulesrc/sandbox/gbechis/20_btc.cf
URL: http://svn.apache.org/viewvc/spamassassin/trunk/rulesrc/sandbox/gbechis/20_btc.cf?rev=1873262&r1=1873261&r2=1873262&view=diff
==============================================================================
--- spamassassin/trunk/rulesrc/sandbox/gbechis/20_btc.cf (original)
+++ spamassassin/trunk/rulesrc/sandbox/gbechis/20_btc.cf Tue Jan 28 16:55:49 2020
@@ -41,13 +41,11 @@ score GB_BITCOIN_NH 3.0 # limi
if (version >= 3.004003)
ifplugin Mail::SpamAssassin::Plugin::HashBL
- body HASHBL_BTC eval:check_hashbl_bodyre('bl.btcblack.it', 'raw/max=10/shuffle', '(?:\s|^)([13][a-km-zA-HJ-NP-Z1-9]{25,34})(?:\s|$)')
- priority HASHBL_BTC -100
- tflags HASHBL_BTC net publish
- score HASHBL_BTC 0.001
- reuse HASHBL_BTC
- meta BTC_HASHBL_BLACK ( HASHBL_BTC && __BITCOIN_ID && !__URL_BTC_ID )
- describe BTC_HASHBL_BLACK Message contains BTC address found on BTCBL
- score BTC_HASHBL_BLACK 5.0 # limit
+ body GB_HASHBL_BTC eval:check_hashbl_bodyre('bl.btcblack.it', 'raw/max=10/shuffle', '(?:\s|^)([13][a-km-zA-HJ-NP-Z1-9]{25,34})(?:\s|$)')
+ priority GB_HASHBL_BTC -100
+ tflags GB_HASHBL_BTC net
+ reuse GB_HASHBL_BTC
+ describe GB_HASHBL_BTC Message contains BTC address found on BTCBL
+ score GB_HASHBL_BTC 5.0 # limit
endif
endif