Horde disabled - folder exists
Hello all,
i noticed today that even if i have disabled Horde web mail from tweak settings, a folder .cphorde is created when i create new account under WHM.
How can i totally remove it?
Thank you in advance
-
Hello @Michaelit, This was brought up in the past as part of internal case CPANEL-2004. It was determined to be by-design because it ensures Horde will function properly for each account on the server if an administrator decides to enable Horde again in the future. Is there a specific reason you prefer to disable the creation of this directory? If it's important to you to delete it, you could setup a custom bash script that deletes the directory, and then configure that script to run automatically during the account creation process using a post "Accounts::Create" hook. Here are some documents to help you get started should you want to set that up: Guide to Standardized Hooks - Whostmgr Functions - Software Development Kit - cPanel Documentation Additionally, should you decide to enable Horde again in the future, you'd need to remove that hook and then manually run the following command: /usr/local/cpanel/bin/update_horde_config
Thank you.0 -
Thank you @cPanelMichael for your complete answer. I would only prefer to completely remove a technology that it won't be used for now on. Even the configuration folders/files. 0 -
Hi @Michaelit, While we don't provide an option to disable the creation of the .cphorde storage directory automatically, you are welcome to delete it manually, or automatically after the creation of each account through a hook as noted in the previous post. Let us know if you have any additional questions. Thanks! 0
Please sign in to leave a comment.
Comments
3 comments