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.

E-mail filtering

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

  1. pam004

    pam004 Member

    Joined:
    Oct 23, 2006
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    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:
    16
    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:
    1

    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:
    16
    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