Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

E-mail filtering

Discussion in 'E-mail Discussion' started by pam004, Oct 23, 2006.

  1. pam004

    pam004 Member

    Joined:
    Oct 23, 2006
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    151
    Hi :D
    I have a question about the e-mail filtering function provided on cPanel.

    When setting up a filter, is it possible to enter more than one word to be filtered? If so, what is the correct syntax (delimiter).
    eg, I'd like to filter subject line > contains > word1 word2 word3 etc instead of setting up a filter for each word.

    I've tried spaces and commas as delimiters and it didn't work so I'm wondering if multi words are supported.

    Thanks!
     
  2. ujr

    ujr Well-Known Member

    Joined:
    Mar 19, 2004
    Messages:
    290
    Likes Received:
    0
    Trophy Points:
    166
    Yup, it sure is possible .... it uses standard regex, and you MUST use the "matches regex"
     
  3. pam004

    pam004 Member

    Joined:
    Oct 23, 2006
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    151

    Thanks, but regex isnt working either.

    Anyone else?
    Please provide syntax or an example of what you are saying in your answer.
     
    #3 pam004, Oct 23, 2006
    Last edited: Oct 23, 2006
  4. ujr

    ujr Well-Known Member

    Joined:
    Mar 19, 2004
    Messages:
    290
    Likes Received:
    0
    Trophy Points:
    166
    here are some examples:

    (st0ck.?|v.[aàáâãäå@]gr[aàáâãäå@])

    this will match st0ck, st0cks, or v1àgra or any combo of the chars

    normally this works just fine.
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice