-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Shane Chrisp wrote: | I have been playing around with vhostadmin and the 5.5.3 version of | vpopmail/vpopmaild and i just noticed that the limits are being ignored | completely. Im not real flash with C, but a quick glance at vadduser.c
vadduser.c is simply a call to the vpopmail API. You would be better to glance at the other source files to determine what's going on. | looks like it doesnt even check to see if there is limits associated | with the domain and just blindly creates the account. Its not really a Of course. If root wishes to add a user, you think vpopmail's API should refuse? The vpopmail API is not structured in this way. vpopmail has functions that perform a job, such as add a user, and it has informational functions like reporting quota usage. There are few, if any, functions that will refuse to perform an action due to some sort of restraint. It's the program's job to check the circumstances of the request, not the API. In thise case, the vadduser binary should always be being called by the root user (or the vpopmail user). | big problem as im keeping the info in mysql so i could modify vhostadmin | to check the limits there and prevent accounts being created, but i just | wondered if its something thats been missed or if its even going to be vhostadmin is in development, and limits checking will probably make it's way into the domain administration later on. - -- /* ~ Matt Brookings <[EMAIL PROTECTED]> GnuPG Key B7B54216 ~ Software developer Systems technician ~ Inter7 Internet Technologies, Inc. (815)776-9465 */ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFC+hN8hzYRRre1QhYRAm2kAJwPnbpTfp9hr6bic3uqMTL/b81ALQCfTQSs 75PTsWXJDFcF7yRdlslaLFg= =YSBK -----END PGP SIGNATURE-----
