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.

Account Level Filtering regex error

Discussion in 'E-mail Discussions' started by alfa ex, Oct 15, 2014.

  1. alfa ex

    alfa ex Member

    Joined:
    Oct 15, 2014
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Hi.

    I'm trying to make easier to control my filters in 'Account Level Filtering' using regex.
    I have a list of domains about 1500 entries divided by groups.

    instead of have 'group 1' insert 200 domains one by one.

    filtro um.jpg

    I want the make one rule with regex.

    filtro dois.jpg

    The problem is when i tried to insert this regex.

    [Removed]

    i get an error.

    if i try put less filters like 20 it works, but i have way more then 20

    I read the manual and searched on google but i can't find anything about characters limit.

    Thanks a lot.
     
    #1 alfa ex, Oct 15, 2014
    Last edited by a moderator: Oct 20, 2014
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Could you let us know the full error message you receive? Also, what is output to /usr/local/cpanel/logs/error_log when this happens?

    Thank you.
     
  3. alfa ex

    alfa ex Member

    Joined:
    Oct 15, 2014
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    hi.

    thanks for the reply and sorry for the delay.

    i don't have access on my server, i need to ask for the cloud provider.

    But i already found the answer to my question.

    I found in the log this message.

    "Filter error: string is too long in line 28 of filter file (max = 1024 chars)"

    Thanks a lot.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page