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 2022/08/13 09:07:23 UTC

svn commit: r1903388 - /spamassassin/trunk/rulesrc/sandbox/gbechis/20_misc.cf

Author: gbechis
Date: Sat Aug 13 09:07:22 2022
New Revision: 1903388

URL: http://svn.apache.org/viewvc?rev=1903388&view=rev
Log:
Google storage cloud abuse rule

Modified:
    spamassassin/trunk/rulesrc/sandbox/gbechis/20_misc.cf

Modified: spamassassin/trunk/rulesrc/sandbox/gbechis/20_misc.cf
URL: http://svn.apache.org/viewvc/spamassassin/trunk/rulesrc/sandbox/gbechis/20_misc.cf?rev=1903388&r1=1903387&r2=1903388&view=diff
==============================================================================
--- spamassassin/trunk/rulesrc/sandbox/gbechis/20_misc.cf (original)
+++ spamassassin/trunk/rulesrc/sandbox/gbechis/20_misc.cf Sat Aug 13 09:07:22 2022
@@ -86,3 +86,12 @@ uri        GB_URI_FLEEK_STO_HTM
 describe   GB_URI_FLEEK_STO_HTM          Html file stored on Fleek cloud
 score      GB_URI_FLEEK_STO_HTM          1.000 # limit
 tflags     GB_URI_FLEEK_STO_HTM          multiple maxhits=5
+
+if (version >= 4.000000)
+if can(Mail::SpamAssassin::Conf::feature_capture_rules)
+  header        __GB_TO_ADDR            To:addr =~ /(?<GB_TO_ADDR>.*)/
+  uri           GB_STORAGE_GOOGLE_EMAIL m|^https?://storage\.cloud\.google\.com/.{4,128}\#%{GB_TO_ADDR}|i
+  describe      GB_STORAGE_GOOGLE_EMAIL Google storage cloud abuse
+  score         GB_STORAGE_GOOGLE_EMAIL 2.000 # limit
+endif
+endif