The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Filtering on regex

Discussion in 'E-mail Discussions' started by dotancohen, Sep 10, 2007.

  1. dotancohen

    dotancohen Member

    Joined:
    Aug 18, 2007
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Haifa
    I see that I can filter about 66% of my spam with a simple regex on the body content. Is there a way that I can configure Cpanel to filter email on a regex?
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Absolutely!

    When you create an email filter (for individual accounts, I usually log into the webmail interface and click on the Email Filtering icon), where the second drop down box (which by default says "equals") is for creating a rule, one of the options is "matches regex."

    It uses a Perl-style regex.
     
  3. dotancohen

    dotancohen Member

    Joined:
    Aug 18, 2007
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Haifa
    Thanks, I don't know how I missed that.
     
Loading...

Share This Page