Account Level Filtering `From` filter not working correctly?

Bramus

Member
Jan 27, 2014
6
0
1
cPanel Access Level
Root Administrator
Hi,

I've set up a forwarder [email protected] 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 [email protected] 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 [email protected] AND `From` does not contain [email protected]
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 [email protected] all mails sent get a failure back. Given this it looks like the problem seems to situated in the `From` does not contain [email protected] part of the rule. Tried changing it to `From` does not match [email protected] 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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
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.
 

Bramus

Member
Jan 27, 2014
6
0
1
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.
Already tried that, yet with no success.

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

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
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.