Allow out-of-range per-email limit to be set, if value was already set

Version 1.61.1


When changing the password of an email account, the User can also set the Quota and max send limit. If you perhaps wanted this one email account to send a very high value, that is not within the normal rules, and have already manually edited the /etc/virtual/ file, when changing the password, DA would throw an error about the limit if it exceeds the User's max. This change will check to see if the existing value matches the requested value, and if so, do not make any change to the limit (allow the higher value to remain). This will allow the ability to change the password/quota, without altering the custom high limit value.

Interested to try DirectAdmin? Get a 30-day Free Trial!