i use vpopmail 5.4.7. we can set default quota for every newly created user by setting up a certain value in /home/vpopmail/etc/vlimits.default. For example, i want every new user to have only 5Mb quota and maximum 500 messages in their inbox. here what to put in vlimits.default:
now everytime we add a new user without -q option, the new user will have 5Mb quota. we can also set quota for an entire domain in vlimits.default, actually the file is self-explanatory…:)
one of our programmer complained that when his application run in our new server, it caused the following error :
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, email@example.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log
so based on the information above i searched in the error log file of our new server, here’s the line that i suspected related with it :
[Fri Jan 04 10:02:51 2008] [error] [client 172.18.10.1] ModSecurity: Output filter: Response body too large (over limit of 524288, total length not known). [hostname “domain.com”] [uri “/folder/application.php”] [unique_id “vdNGNn8AAAEAAA1-HmEAAAAN”]
so then i went to directory where modsecurity rules reside and try to find in what file the limit was.
$ grep 524288 *conf
the programmer told me before that his application was to view a sets of result from a select command. i think the problem is the size of the selection was too large and over the limit set in modsecurity_crs_10_config.conf.
when i asked him, he told me that the result is about 8000 records. no wonder……
so i suggested him to fix the selection, not to select all records at a time.