Our features site is undergoing a refresh! Be sure to explore the revamped site and discover our latest product roadmap launching here on Monday, March 18th.

Allow manual editing of mail filter files

Masta shared this idea 5 years ago
Open Discussion

As a System Administrator, I would like cPanel to allow manual editing of mail filter files.

The current problem is that we have to use the interface or the API now. When all would be needed is for cPanel to update itself from our config file, via a function

Having to build api commands for editing mail filters is quite cumbersome.

We'd need a function for cpanel to update its own data according to the corresponding FILE after manual edition, it it needs to store its info in a certain fashion.


example:

  1. You manually edit a file in /home/username/etc/domain/user/filter.
  2. Then you run, hey-cpanel-please-update-yourself-from -f /home/username/etc/domainx/userx/filter
  3. Done.

Please comment? Thanks

Leave a Comment
 
Attach a file