SOLVED How to set up user filters correctly

satimis

Member
Feb 1, 2008
22
2
53
Hi all,

Godaddy Linux cpanel email user filters (Exim)

I have set up "user filters"

Rules
Subject contains
Any Header contains

Actions
Discard Message

On testing
......
Headers charset "UTF-8"
Filtering did not set up a significant delivery.
Normal delivery will occur.


The spam email can't be discarded. Please help.

Thanks
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,245
463
Hello @satimis,

Can you provide a screenshot of the specific filter rule you have enabled, or let us know the full steps you took to enable it?

Also, can you verify if you have root access to the server? If not, can you confirm if you have reported this problem to your web hosting provider?

Thank you.
 

rpvw

Well-Known Member
Jul 18, 2013
1,101
466
113
UK
cPanel Access Level
Root Administrator
The contains operator is a string comparator (not a list of words) - so unless the subject or header contains ALL the content you have entered as an exact string match, the rule will fail.

You would need to set up a rule that looks like:
Screenshot-2018-8-18 cPanel - Email Filters.png
(I only included the first 3 of your words in each rule as an example, you would obviously have to make many more rules to have it work on all the words you have in your strings.)

This KB article may be of use : How to Configure Mail Filters - cPanel Knowledge Base - cPanel Documentation
 
Last edited:
  • Like
Reactions: cPanelMichael

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,245
463
Hello @satimis,

I'm glad to see the updated filter rules are working well. I see no problems with the rules based on the criteria you noted.

Thank you.