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 `From` filter not working correctly?

Discussion in 'E-mail Discussions' started by Bramus, Jan 27, 2014.

  1. Bramus

    Bramus Member

    Joined:
    Jan 27, 2014
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi,

    I've set up a forwarder everybody@example.org to allow one to let the admin of the domain easily send a mail to everyone with an e-mailaddress in the system. To prevent abuse I only want boss@example.org to be able to send a mail to that addres.

    To achieve this I've set up an Account Leveling Filtering rule as follows:
    Rules: `To` equals everybody@example.org AND `From` does not contain boss@example.org
    Action: Fail with message "Alas, no dice"

    When testing the filter using the Filter Test tool in cPanel itself all reports look good (only boss can mail everybody), yet in practice it does not work: anyone can send a mail to the forwarder.

    First thought that the mail rules might not work when combined with forwarders, yet that's not the case: when changing the rule above to only `To` equals everybody@example.org all mails sent get a failure back. Given this it looks like the problem seems to situated in the `From` does not contain boss@example.org part of the rule. Tried changing it to `From` does not match boss@example.org but to no avail.

    Anyone got a clue, or is this a bug? Using the latest WHM at the time being (11.40.9 build 1).

    Regards,
    Bram.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    Could you try using "Does Not Match" instead of "Does Not Contain" in the "FROM" field for this filter and let us know if you experience the same results?

    Thank you.
     
  3. Bramus

    Bramus Member

    Joined:
    Jan 27, 2014
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Already tried that, yet with no success.

    (Sidenote: got the version wrong in my first post, it should read "11.40.1 build 9")
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Feel free to open a support ticket using the link in my signature so we can take a closer look. You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
  5. Bramus

    Bramus Member

    Joined:
    Jan 27, 2014
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Created a ticket. Ticket number: 4526143
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    To update, this issue was not reproducible on a test machine. We were unable to obtain root access to the customer's server in order to reproduce it from their own system.

    Thank you.
     
Loading...

Share This Page