Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 21
  1. #1
    Member
    Join Date
    Jun 2002
    Posts
    132

    Default Testing of Email Filters Not Working

    When we add any filter using User Level Filtering or Account Level Filtering, they do not seem to take effect.

    When we do a Filter Test, a blank result shows up.

    How do we resolve this problem?

  2. #2
    Member
    Join Date
    Oct 2009
    Posts
    55

    Default

    Hi,

    Rather than doing a test via cPanel, have you tried testing by sending any emails that meet the filtering rules?

    Try to use 'contains' and not equals, don't know equals doesn't work for me

  3. #3
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,555
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Quote Originally Posted by Valetia View Post
    When we add any filter using User Level Filtering or Account Level Filtering, they do not seem to take effect.

    When we do a Filter Test, a blank result shows up.

    How do we resolve this problem?
    What is the full cPanel version and build number of the system?

    The above can be obtained by running the following command via root SSH access and simply copying-and-pasting the displayed output:
    Code:
    # grep -H '' /etc/*release /usr/local/cpanel/version /var/cpanel/envtype

  4. #4
    Member
    Join Date
    Jun 2002
    Posts
    132

    Default

    The output is as follows:
    Code:
    /etc/redhat-release:CentOS release 5.4 (Final)
    /usr/local/cpanel/version:11.25.0-STABLE_44718
    /var/cpanel/envtype:xen pv
    Last edited by cPanelDon; 04-21-2010 at 08:25 PM. Reason: s/QUOTE/CODE/g

  5. #5
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,555
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Quote Originally Posted by Valetia View Post
    The output is as follows:
    Code:
    /etc/redhat-release:CentOS release 5.4 (Final)
    /usr/local/cpanel/version:11.25.0-STABLE_44718
    /var/cpanel/envtype:xen pv
    Thank you for the version details. The issue of not displaying output from e-mail filter test results was recently investigated and escalated through to resolution; the aforementioned issue should be fully alleviated in an upcoming new build of cPanel version 11.25.0.

    Having automatic updates enabled will ensure the affected system receives any new updates and or applicable bug-fixes promptly upon availability; the update configuration can be viewed and modified via WebHost Manager (WHM) at the following menu path:

  6. #6
    Member Zepplin's Avatar
    Join Date
    Oct 2006
    Location
    Blue Mountains, Australia
    Posts
    84
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Good to hear, noticed same issue a few days ago on 11.25.0-CURRENT_44718

  7. #7
    Registered User
    Join Date
    May 2005
    Posts
    3

    Default

    Quote Originally Posted by Valetia View Post
    When we add any filter using User Level Filtering or Account Level Filtering, they do not seem to take effect.
    Valetia,
    Is this statement meant to read that only the *testing* of filters with cPanel is not working, or are you actually experiencing trouble with the real filters?

    After updating to 11.25.0-STABLE_44718 on one "FreeBSD 6.2-STABLE" system and to 11.25.0-CURRENT_44718 on another "FreeBSD 6.2-STABLE" system, both appear to be failing to process the email filters (account level, or user level).

    cPanelDon,
    Is there further documentation on these filters that you can direct us towards?

  8. #8
    Member
    Join Date
    Jun 2002
    Posts
    132

    Default

    Quote Originally Posted by keywaystab View Post
    Valetia,
    Is this statement meant to read that only the *testing* of filters with cPanel is not working, or are you actually experiencing trouble with the real filters?
    Both, actually. The *testing* of filters doesn't work 100% of the time, while the real filters may or may not work depending on how they're set up.

    For example, if you try to filter an email whose subject 'ends with' a certain string, it may not work. But changing it from 'ends with' to 'contains' may work...

  9. #9
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,555
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Quote Originally Posted by keywaystab View Post
    cPanelDon,
    Is there further documentation on these filters that you can direct us towards?
    The Exim documentation details the applicable specification of mail filtering via Exim filters; please see the following resources for verbose information:
    Last edited by cPanelDon; 04-27-2010 at 05:10 PM. Reason: Clarification

  10. #10
    Registered User
    Join Date
    May 2005
    Posts
    3

    Default

    Quote Originally Posted by cPanelDon View Post
    The Exim documentation details the applicable specification of mail filtering via Exim filters; please see the following resources for verbose information:
    cPanelDon,
    I appreciate the links to the Exim docs, and I will review them further; however, I actually meant to ask whether there was cPanel documentation regarding the cPanel implementation of these filters?

    My understanding is that a "yaml" file is created from the cPanel interface, which is then somehow parsed into the filter/.filter file where appropriate. I'd like to read the documentation on how this is all performed so that I can better troubleshoot.

    While I'm asking for documentation, is there a unified set of documentation regarding the scripts in /scripts? We regularly run into issues, and have to guess as to which script will be fitting for our need, and search the forums in hopes that there is mention of that particular script name. If there is documentation in place for what each of the scripts does, this would be incredibly beneficial to us.

    Thank you very much.

  11. #11
    Member Zepplin's Avatar
    Join Date
    Oct 2006
    Location
    Blue Mountains, Australia
    Posts
    84
    cPanel/Enkompass Access Level

    Root Administrator

    Thumbs up

    Quote Originally Posted by cPanelDon View Post
    Thank you for the version details. The issue of not displaying output from e-mail filter test results was recently investigated and escalated through to resolution; the aforementioned issue should be fully alleviated in an upcoming new build of cPanel version 11.25.0.

    Having automatic updates enabled will ensure the affected system receives any new updates and or applicable bug-fixes promptly upon availability; the update configuration can be viewed and modified via WebHost Manager (WHM) at the following menu path:
    Filter Trace is now showing all results from any filter tests as expected with the latest upgrade cPanel 11.25.0-C45139

    Cheers

  12. #12
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,788
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by keywaystab View Post
    cPanelDon,
    I appreciate the links to the Exim docs, and I will review them further; however, I actually meant to ask whether there was cPanel documentation regarding the cPanel implementation of these filters?

    My understanding is that a "yaml" file is created from the cPanel interface, which is then somehow parsed into the filter/.filter file where appropriate. I'd like to read the documentation on how this is all performed so that I can better troubleshoot.
    The YAML file is simply a data store of the filters for an account. The file itself is not documented as it's intended for internal use only.

    Quote Originally Posted by keywaystab View Post
    While I'm asking for documentation, is there a unified set of documentation regarding the scripts in /scripts? We regularly run into issues, and have to guess as to which script will be fitting for our need, and search the forums in hopes that there is mention of that particular script name. If there is documentation in place for what each of the scripts does, this would be incredibly beneficial to us.

    Thank you very much.
    Many, if not most, scripts in the /scripts directory are old and not recommended for use. Those that are recommended and maintained are documented here WHM Scripts.

    If you have questions about a specific script feel free to ask about it. If you have a solid grasp of Perl you can also examine the script itself.
    Kenneth
    Product Manager
    cPanel, Inc.

  13. #13
    Registered User
    Join Date
    Aug 2006
    Posts
    1

    Default Testing of Email Filters Not Working

    Same problem here. Believe the filters are working, but not the "Test Filter" feature when creating new filters in cPanel.

    Screen reads "Filter Trace Results:" and then has an empty one-line box. Screenshot below:


    Using cPanel 11.25.0 r44718, auto updates nightly. Here is my configuration:

    /etc/redhat-release:CentOS release 5.4 (Final)
    /usr/local/cpanel/version:11.25.0-RELEASE_44718
    /var/cpanel/envtype:standard

    Anyone have any ideas how to fix this?

  14. #14
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,555
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Quote Originally Posted by rlerner View Post
    Same problem here. Believe the filters are working, but not the "Test Filter" feature when creating new filters in cPanel.

    Screen reads "Filter Trace Results:" and then has an empty one-line box. Screenshot below:


    Using cPanel 11.25.0 r44718, auto updates nightly. Here is my configuration:

    /etc/redhat-release:CentOS release 5.4 (Final)
    /usr/local/cpanel/version:11.25.0-RELEASE_44718
    /var/cpanel/envtype:standard

    Anyone have any ideas how to fix this?
    Build number 44718 was released before the issue was corrected and so it does not contain the subsequent fix you are expecting. At the present time I believe all build trees except STABLE and RELEASE contain the specific correction; you may either opt to wait until STABLE and or RELEASE have a new build generated or switch to the CURRENT build tree to receive the update sooner.

    The following resource may be used to verify when a new build is available: cPanel Downloads - Latest cPanel/WHM Builds
    Last edited by cPanelDon; 05-10-2010 at 06:02 PM. Reason: Clarification

  15. #15
    Member
    Join Date
    Feb 2007
    Posts
    5

    Default Seems like the problem persists...

    Quote Originally Posted by cPanelDon View Post
    Build number 44718 was released before the issue was corrected and so it does not contain the subsequent fix you are expecting. At the present time I believe all build trees except STABLE and RELEASE contain the specific correction; you may either opt to wait until STABLE and or RELEASE have a new build generated or switch to the CURRENT build tree to receive the update sooner.

    The following resource may be used to verify when a new build is available: cPanel Downloads - Latest cPanel/WHM Builds
    I have 11.25.0-R46156 and the filters are not working.

Similar Threads & Tags
Similar threads

  1. Some email filters not working
    By FreedomBI in forum E-mail Discussions
    Replies: 2
    Last Post: 08-18-2011, 11:20 PM
  2. Testing of Email Filters Not Working
    By Valetia in forum E-mail Discussions
    Replies: 4
    Last Post: 04-21-2010, 08:59 PM
  3. Help! None of my email filters are working in Cpanel
    By rqsweat in forum E-mail Discussions
    Replies: 2
    Last Post: 10-26-2007, 02:09 PM
  4. Restore (email) Filters - Not Working?
    By Goya in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 07-26-2004, 10:19 PM
  5. Email Filters Stopped Working... Please Help!!!
    By nitromax in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 06-29-2002, 04:02 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube