-
-
Notifications
You must be signed in to change notification settings - Fork 454
-
-
Notifications
You must be signed in to change notification settings - Fork 454
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature request]: After reaching the assigned space, deactivate user #845
Comments
Is x% to be configured? Is the warning email going out once? If the account is disabled, how can the user lighten up his given webspace? Isnt he no longer allowed to log-in? (via ftp or whatever?) |
Yes.
I think yes, why to spam the User? Or what do you think?
The User gets a email warning after reaching the assigned space. and AFTER exceeding x% of the assigned space, the user will be disabled. If the user ignores the warning, only the admin can activate the account again.
I dont know, if it is possible to allow a disabled user only FTP access. Do you have a better idea? Let us know! |
So instead of deactivating their account altogether which will make your customers pretty angry and possibly take their business elsewhere, why do we not think about limiting mail and db space as well within the quota without disabling the user? |
Because of that, as an option so that everyone can decide if they want to use it or not.
@d00p says it's not easy to implement. But yes, that is the best option. But so users have unlimited storage space. There should be a solution to prevent this. |
Within MailServer Settings, we find this: It doesn't say what special setup is required though. |
I think I now have a good idea for implementing it. The "froxlor_master_cronjob.php" should have a new option like --set_quota The idea is, if a user reaches the assigned space the Cron Script "froxlor_master_cronjob --set_quota" set new quotas. For example: The customer has 10GB of storage space. The Customer is using 7 GB of the storage for web and 3 GB of the storage for mail. Now, the "froxlor_master_cronjob --set_quota" should set new quotas. |
The latter (setting web quota to 7, and mail quota to 3, if user has "bought" 10 in total) isn't a particularly good idea, I think. This only works, properly, if the quota has been already reached. Which numbers will you use, when the space has been exceeded already? What do you want to do. before then 10 in total are reached? |
The problem at the moment is that there is only a hard limit over the web data.
If a user reaches the assigned space, no block will take place.
For example: The user is assigned a storage space of 10 GB. If the user uses 10GB Web, quota intervenes. But if the user still uses 5 GB of emails or database, he can continue to use it without a limit, since quota only calculate the web data.
It would be nice if the user gets a email warning after reaching the assigned space and the customer will be disabled after exceeding x% of the assigned space.
It makes absolutely no sense to assign storage space if you don't have a hard limit anyway.
So that everyone is happy, to disable the user should be an option.
The text was updated successfully, but these errors were encountered: