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!

filter.yaml file not correct while vfilters/domain.com is

Discussion in 'E-mail Discussion' started by ttremain, Apr 24, 2015.

  1. ttremain

    ttremain Well-Known Member

    Joined:
    Feb 16, 2003
    Messages:
    216
    Likes Received:
    0
    Trophy Points:
    166
    cPanel Access Level:
    Root Administrator
    /home/account/.cpanel/filter.yaml is no longer correct for some reason,
    while /etc/vfilters/domain.com is.

    How can I recreate the .yaml file correctly?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,822
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    You should be able to regenerate the YAML file by moving it out of the way and logging out/back into cPanel and viewing the "Account Level Filters" option. EX:

    Code:
    mv /home/account/.cpanel/filter.yaml /home/account/.cpanel/filter.yaml.old
    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. ttremain

    ttremain Well-Known Member

    Joined:
    Feb 16, 2003
    Messages:
    216
    Likes Received:
    0
    Trophy Points:
    166
    cPanel Access Level:
    Root Administrator
    As per your suggestion, I have tried this, and the file is not recreated. I also tried renaming filter.cache
    The file email_accounts.yaml was updated, but not filter.yaml
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,822
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Could you restore the YAML file that you moved out of the way back into place? After doing so, please open a support ticket using the link in my signature so we can verify why the filter YAML file and the actual filter in /etc/vfilters do not match. You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. ttremain

    ttremain Well-Known Member

    Joined:
    Feb 16, 2003
    Messages:
    216
    Likes Received:
    0
    Trophy Points:
    166
    cPanel Access Level:
    Root Administrator
    "Your Request id is: 6437835."
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,822
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    To update, the entries from /etc/vfilters/$domain appear to have been manually added. It's advised to add the filter rules through the cPanel interface or through the YAML file, rather then manually editing the vfilter file.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. ttremain

    ttremain Well-Known Member

    Joined:
    Feb 16, 2003
    Messages:
    216
    Likes Received:
    0
    Trophy Points:
    166
    cPanel Access Level:
    Root Administrator
    I believe one of the rules was manually edited, at one time, a couple years ago, because it required case sensitivity, but these rules were all created through cPanel.

    Maybe what you are seeing is because several weeks ago, I had to retrieve the vfilters file from a system backup.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #7 ttremain, Apr 29, 2015
    Last edited: Apr 29, 2015
  8. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,822
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    I see the support ticket is still open at this time. Feel free to update us with the outcome once it's finished.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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