From: Don Armstrong Date: Sun, 19 Mar 2017 01:25:17 +0000 (-0700) Subject: tweak the UPS Id match X-Git-Url: https://git.donarmstrong.com/?p=spamassassin_config.git;a=commitdiff_plain;h=c0cd6bd1e8da97f361c7e12695e87cbe860ef315 tweak the UPS Id match --- diff --git a/common/virus_spam b/common/virus_spam index 2feae6f..5e88e97 100644 --- a/common/virus_spam +++ b/common/virus_spam @@ -100,11 +100,11 @@ describe FEDEXPACKAGE Fedex Package Virus spam score FEDEXPACKAGE 4 #don 2016-11-04 -header SHIPPING_ID subject =~ /(ID:?|ID|\#|n\.|UPS)\s*\d{7,}\s*\)?\s*($|shipment|delivery)/ +header SHIPPING_ID subject =~ /(ID:?|ID|\#|n\.|UPS(| parcel))\s*\d{7,}\s*\)?\s*($|shipment|delivery)/ describe SHIPPING_ID Contains a long ID number at the end or folled by shipment score SHIPPING_ID 3 -header SHIP_ID_INT subject =~ /(ID:?|ID|\#|n\.|UPS)\s*\d{7,}\s*/ +header SHIP_ID_INT subject =~ /(ID:?|ID|\#|n\.|UPS(| parcel))\s*\d{7,}\s*/ describe SHIP_ID_INT Contains a long ID number inside score SHIP_ID_INT 1