Skip to main content
dts_drp
New Member
September 1, 2017
Question

Safelist subject based on regex

  • September 1, 2017
  • 9 replies
  • 8867 views

We are a higher ed institution. We have many emails that have class numbers in the subject (i.e. EN101). Is there way to safelist or allow these messages to bypass spam filters? I have tried the safelist word with regex, but it doesn't work. I know I can manually add each class, but it changes every semester and would require too much manual editing. Thanks in advance

    9 replies

    abelio
    SuperUser
    SuperUser
    September 1, 2017

    hi,

    Incoming or outgoing email?

    Dirty_Wizard_FTNT
    Staff
    Staff
    September 2, 2017

    The Safelist word list only takes wildcards (*,?) and not regex.

    ede_pfau
    SuperUser
    SuperUser
    September 3, 2017

    Simple wildcards leaves you at '????? ' for "word with 5 characters, followed by a blank" which is not very specific. One option would be to code the subjects (EN, MA, PH,...) and 'wildcard' the course numbers, like in 'EN??? ', 'PH??? ' etc. Admitted, this is not very specific, not even close to a regex ('[A_Z]{2}\d{3} ').

    Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
    Fortinet Flag the Hack. Wednesday, August 26, 9:00 AM - 5:00 PM ET, COSM, Atlanta, GA.
    Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!