Mailing List Archive

svn commit: r1871993 - /spamassassin/trunk/rulesrc/sandbox/gbechis/20_btc.cf
Author: gbechis
Date: Thu Dec 26 09:10:09 2019
New Revision: 1871993

URL: http://svn.apache.org/viewvc?rev=1871993&view=rev
Log:
check BTC addresses against BTC rbl

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=1871993&r1=1871992&r2=1871993&view=diff
==============================================================================
--- spamassassin/trunk/rulesrc/sandbox/gbechis/20_btc.cf (original)
+++ spamassassin/trunk/rulesrc/sandbox/gbechis/20_btc.cf Thu Dec 26 09:10:09 2019
@@ -38,3 +38,14 @@ body __NEVER_HEAR_IT /eliminare
meta GB_BITCOIN_NH ( __BITCOIN_ID && !__URL_BTC_ID && ( __NEVER_HEAR_EN || __NEVER_HEAR_IT ) )
describe GB_BITCOIN_NH Localized Bitcoin scam
score GB_BITCOIN_NH 3.0 # limit
+
+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
+ 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
+ endif
+endif