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/05/02 12:56:54 UTC

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

Author: gbechis
Date: Mon May  2 12:56:54 2022
New Revision: 1900477

URL: http://svn.apache.org/viewvc?rev=1900477&view=rev
Log:
more tweaks to Paypal 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=1900477&r1=1900476&r2=1900477&view=diff
==============================================================================
--- spamassassin/trunk/rulesrc/sandbox/gbechis/20_misc.cf (original)
+++ spamassassin/trunk/rulesrc/sandbox/gbechis/20_misc.cf Mon May  2 12:56:54 2022
@@ -49,7 +49,7 @@ score      GB_GOOG_IMG_NOT_RCVD_GOOG   2
 # tflags     GB_LINKED_IMG_NOT_RCVD_LINK   publish
 
 # header     __HDR_RCVD_PAYPAL           X-Spam-Relays-External =~ /\srdns=\S+\.paypal\.com\s/
-uri        __URI_IMG_PAYPAL              /^https:\/\/www\.paypalobjects\.com\/(?:digitalassets|en_US|ui\-web)\//
+uri        __URI_IMG_PAYPAL              /^https:\/\/www\.paypalobjects\.com\/(?:digitalassets|en_US|ui\-web)\/.{1,64}\.(?:gif|jpg|png)/
 meta       __PAYPAL_IMG_NOT_RCVD_PAYP    __URI_IMG_PAYPAL && !__HDR_RCVD_PAYPAL
 meta       GB_PAYPAL_IMG_NOT_RCVD_PAYP   __PAYPAL_IMG_NOT_RCVD_PAYP && !__HAS_ERRORS_TO && !__MSGID_LIST && !__MSGID_GUID && !__RCD_RDNS_SMTP
 describe   GB_PAYPAL_IMG_NOT_RCVD_PAYP   Paypal hosted image but message not from Paypal