Testing of Email Filters Not Working

ptim

Registered
Aug 28, 2011
1
0
51
The From mail header is set by the sender's mail client and for this reason we recommend considering use of "contains" or "matches regex" instead of "equals" to better account for unforeseen differences in the From header of incoming messages.
It would be helpful if this were noted in the documentation here:
Account Level Filtering

Particularly as the top screenshot shows the use of the equals condition :(
 

MaraBlue

Well-Known Member
May 3, 2005
332
2
168
Carmichael, CA
cPanel Access Level
Root Administrator
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.
Sorry for reviving an old thread, but I have to ask...if the scripts in the /scripts directory are old and not recommended for use...why are they still there? Couldn't a "clean up" script be added in an update?
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
79
458
cPanel Access Level
Root Administrator
Sorry for reviving an old thread, but I have to ask...if the scripts in the /scripts directory are old and not recommended for use...why are they still there? Couldn't a "clean up" script be added in an update?
There are over 600 scripts in the scripts directory. As we identify scripts that should not be there, we remove them. Scripts that still serve a useful purpose are updated, again when identified. It's a large problem that we continue to nibble away at in the context of things that have higher priority.
 

simonsoft

Registered
Dec 13, 2012
1
0
1
cPanel Access Level
Website Owner
Re: Seems like the problem persists...

Sir, i am a website owner, my provider is Byethost Hosting. I dont have any root/ssh access, but this are the pieces of information on my account.

cPanel Version 11.34.1 (build 4)
Theme x3
Apache version 2.2.23
PHP version 5.2.17
MySQL version 5.5.28
Architecture x86_64
Operating system linux
Shared IP Address 31.22.4.37
Path to sendmail /usr/sbin/sendmail
Path to Perl /usr/bin/perl
Perl version 5.8.8
Kernel version 2.6.32-279.14.1.el6.bl0.9.5_1.x86_64
cPanel Pro 1.0 (RC1)

The problem is, the "user level filtering" nor the "account level filtering" dont work. Previously the account level filtering works.

the byet support team told me that the issue may have been about the recent upgrade on their system (cpanel), which they dont control.

I hope you could help me or the hosting provider.
 

MaraBlue

Well-Known Member
May 3, 2005
332
2
168
Carmichael, CA
cPanel Access Level
Root Administrator
Re: Seems like the problem persists...

You're likely to get more help if you include specifics on what exactly isn't working.
 

Silver_2000

Well-Known Member
Mar 31, 2002
337
1
318
Email Filters

The Exim documentation details the applicable specification of mail filtering via Exim filters; please see the following resources for verbose information:
while the 2010 link was broken



here is exims current examples

Exim Filter Specification - Examples of filter commands

while interesting none of the examples will work in the CPANEL interface

It would be great to get some examples of filters that DO work in cpanel


specifically Im trying to filter by country


.us and .pw are the current targets