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 2019/11/15 15:19:30 UTC
svn commit: r1869857 - /spamassassin/trunk/rulesrc/sandbox/gbechis/20_misc.cf
Author: gbechis
Date: Fri Nov 15 15:19:29 2019
New Revision: 1869857
URL: http://svn.apache.org/viewvc?rev=1869857&view=rev
Log:
check for Unicredit Bank hosted logos but message not from Unicredit Bank
remove an obsolete 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=1869857&r1=1869856&r2=1869857&view=diff
==============================================================================
--- spamassassin/trunk/rulesrc/sandbox/gbechis/20_misc.cf (original)
+++ spamassassin/trunk/rulesrc/sandbox/gbechis/20_misc.cf Fri Nov 15 15:19:29 2019
@@ -43,6 +43,9 @@ tflags GB_LINKED_IMG_NOT_RCVD_LINK
# describe GB_PAYPAL_IMG_NOT_RCVD_LINK Paypal hosted image but message not from Paypal
# score GB_PAYPAL_IMG_NOT_RCVD_LINK 2.500 # limit
-# header GB_PHP_BADVERSION X-Mailer =~ /PHP\/' \. phpversion\(\);/
-# describe GB_PHP_BADVERSION Impossible Php version
-# score GB_PHP_BADVERSION 1.000 # limit
+header __HDR_RCVD_UNICREDIT X-Spam-Relays-External =~ /rdns=mx\d+\.unicredit\.eu\s/
+uri __URI_IMG_UNICREDIT /^https:\/\/www\.unicreditgroup\.eu\/etc\/designs\/unicreditgroupn\/img\/static\/logoHiRes\.png/
+meta __UNICR_IMG_NOT_RCVD_LINK __URI_IMG_UNICREDIT && !__HDR_RCVD_UNICREDIT
+meta GB_UNICR_IMG_NOT_RCVD_LINK __UNICR_IMG_NOT_RCVD_LINK && !__HAS_ERRORS_TO && !__MSGID_LIST && !__MSGID_GUID && !__RCD_RDNS_SMTP
+describe GB_UNICR_IMG_NOT_RCVD_LINK Unicredit Bank hosted image but message not from Unicredit
+# score GB_UNICR_IMG_NOT_RCVD_LINK 2.500 # limit