Where are email individual filters stored?

Speed Total

Member
Mar 29, 2016
6
1
53
Sibiu
cPanel Access Level
Root Administrator
Hi all,

I am looking for a solution on the new hacking way of the emails.
The attacker gains access to the target email with password and puts forwards and email filters.

I have two questions.

1. How can I disable the forward and email filter buttons from the menu so only the domain admin can manage this?
2. Where are email individual filters stored? in /etc/vfilters/domain are only the global ones, and valiases are just forwards

Thanks.
 

LucasRolff

Well-Known Member
Community Guide Contributor
May 27, 2013
143
94
78
cPanel Access Level
Root Administrator
> 1. How can I disable the forward and email filter buttons from the menu so only the domain admin can manage this?

You can disable forwarders and email filters via the feature manager in WHM.

> 2. Where are email individual filters stored? in /etc/vfilters/domain are only the global ones, and valiases are just forwards

Individual filters are created in /home/$user/etc/$domain/$localpart/
 
  • Like
Reactions: cPanelLauren

Markif

Well-Known Member
Nov 9, 2016
55
7
133
Toulouse
cPanel Access Level
Root Administrator
Hi LucasRolff,

found
/home/$user/etc/$domain/$localpart/filter
OK,
Is there a cmd line command to regenerate the corresponding .cache and .yaml files ?

Thanks
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,298
1,279
313
Houston