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/10/04 16:45:58 UTC

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

Author: gbechis
Date: Fri Oct  4 16:45:58 2019
New Revision: 1867988

URL: http://svn.apache.org/viewvc?rev=1867988&view=rev
Log:
check impossible php versions in X-Mailer

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=1867988&r1=1867987&r2=1867988&view=diff
==============================================================================
--- spamassassin/trunk/rulesrc/sandbox/gbechis/20_misc.cf (original)
+++ spamassassin/trunk/rulesrc/sandbox/gbechis/20_misc.cf Fri Oct  4 16:45:58 2019
@@ -42,3 +42,7 @@ meta       __PAYPAL_IMG_NOT_RCVD_LINK
 meta       GB_PAYPAL_IMG_NOT_RCVD_LINK   __PAYPAL_IMG_NOT_RCVD_LINK && !__HAS_ERRORS_TO && !__MSGID_LIST && !__MSGID_GUID && !__RCD_RDNS_SMTP
 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