Hi,

I recently downloaded the quota display plugin and had to modify it because
my IMAP doesn't support the QUOTA capability.

I have made it instead do the following:

1. Take the login name and split it at @ giving the username and domain.
2. Search /home/virtual/$domain/home/etc/passwd for their username and
associated uid.
3. Run  "repquota -u /" and search the output for the line with their $uid.
4. Extract quota information for display.

My problem is that I cannot seem to run repquota from the web page without
giving global read permission to quota.users in my base directory (/). Is
this really inadvisable? (former permissions were just rw|--|-- )
I can't read what's in quota.users as it seems to be a binary file.

Thanks for any help and I will send this modification to anyone who would
like it.
Is it sufficently different from the existing IMAP quota plugin to warrent
posting it up if it works well?

Cheers,
Dan







-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to