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 2018/02/21 07:33:02 UTC

svn commit: r1824931 - /spamassassin/branches/3.4/lib/Mail/SpamAssassin/Plugin/ASN.pm

Author: gbechis
Date: Wed Feb 21 07:33:02 2018
New Revision: 1824931

URL: http://svn.apache.org/viewvc?rev=1824931&view=rev
Log:
Add an example of a rule that matches an ASN, bz 6929

Modified:
    spamassassin/branches/3.4/lib/Mail/SpamAssassin/Plugin/ASN.pm

Modified: spamassassin/branches/3.4/lib/Mail/SpamAssassin/Plugin/ASN.pm
URL: http://svn.apache.org/viewvc/spamassassin/branches/3.4/lib/Mail/SpamAssassin/Plugin/ASN.pm?rev=1824931&r1=1824930&r2=1824931&view=diff
==============================================================================
--- spamassassin/branches/3.4/lib/Mail/SpamAssassin/Plugin/ASN.pm (original)
+++ spamassassin/branches/3.4/lib/Mail/SpamAssassin/Plugin/ASN.pm Wed Feb 21 07:33:02 2018
@@ -54,6 +54,8 @@ Autonomous System Number (ASN) of the co
 
  add_header all ASN _ASN_ _ASNCIDR_
 
+ header TEST_AS1234 X-ASN =~ /^1234$/
+
 =head1 DESCRIPTION
 
 This plugin uses DNS lookups to the services of an external DNS zone such