On Apr 6, 2004, at 5:43 AM, Florent wrote:
I watched into source code of vpopmail and vqadmin and saw that :
- vqadmin uses the vauth_setpw function to modify a user.
- inside vpopmail : the function vauth_setpw modify only the vpasswd file, but the vsetuserquota function modify vpasswd file (by calling vauth_setpw) and then update Maildir/maildirsize file.


That's why the vsetuserquota program does the right job (it uses the vsetuserquota function), and vqadmin does only 'half' of the job.

I think the best solution to solve this problem would be to move the portion of code which does the Maildir/maildirquota update in vsetuserquota into the vauth_setpw function.

It would be better to fix vqadmin to call vsetuserquota() instead of vauth_setpw. The vauth_ functions should only update information in the auth backends.


Please report it as a bug on <http://sourceforge.net/projects/vqadmin/>.

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/



Reply via email to