Messaging Gateway

 View Only
Expand all | Collapse all

Count Number of Credit Card in Symantec Mail Gateway Policy

  • 1.  Count Number of Credit Card in Symantec Mail Gateway Policy

    Posted Apr 11, 2016 12:28 PM

    Hi ,

     

    How can i Create A message Policy that will apply on :- 

    Email Contains 2 Credit Card Number in the same body .

    PS :: 1 Credit Number should not violat the Policy but 2 .

     

    Product : Symantec Mail Gateway Version 10.6.0 

     

    Thanks



  • 2.  RE: Count Number of Credit Card in Symantec Mail Gateway Policy

    Posted Apr 13, 2016 05:45 AM

    Hi,

    Sure, should be possible.

    Take a look at credit card pattern (basic). Make a cutom copy of it and within the "\b" word boundaries add "(" and ")" and a {min,max} repitition quantifier.

    Should look like: \b((\<!-....(?!-)){2,}\b

    Create a Content rule where part of message matches your custom pattern.

    For testing purpose i would add a second clause like a special word withing the subject.

     

    Regards

    Thomas