[qmailadmin] Quota Patch

2002-11-19 Thread Jorge Valdes
I have recently seen various mails regarding quota modification privilege
on manager accounts (allowing designated manager accounts to modify
quotas), stuff that should only be done by the postmaster account. To solve
this, I have hacked the qmailadmin-1.0.6 (quota patched) source to add the
following functionality for service providers:

+ Only allow postmaster to modify quota field.
+ manager accounts can still add/delete/modify accounts (except
postmaster).
+ manager accounts can see quota usage for their domain.

When we sell a mail hosting service, the customer specifies the number of
email accounts he/she wants and this value is configured in the
.qmailadmin-limits file (plus 1 for postmaster).  Each account is setup with
the default quota (in my case 10MB) by specifying this value in vpopmail
before compilation via configure script.  We require that at least one
master account be specified, and that account is given manager privileges
so they customer can manage all accounts in the domain.

If any particular user requires more space in their account, this is done by
either charging an additional fee for the additional storage, or sacrificing
one or more accounts and using that quota to increase the requested space
requirements for the customer.  In any case, quota modification requests
*must* be submitted in writing to avoid future disputes.

Problem:
+ how to make .patch file for summital.

Jorge Valdes
[EMAIL PROTECTED]





[qmailadmin] Log in page comes back with no errors

2002-11-19 Thread Jason Carreira
Hi all,

I've just finished installing Qmail 1.03, vpopmail 5.2.1, Courier IMAP 
1.6.0, and the StartTLS patch applied to Qmail, and have just put 
qmailadmin 1.06 on my server.

After I installed qmailadmin, I went to the URL and was pleased to see 
the login page, but, for some reason, when I try to log in, it just 
comes back to the log in page with no message, no error, and nothing, as 
far as I can tell, in the log except for the POST to the cgi in the 
Apache (1.3.22) log.

I created the standard test.com / test account so I could let other 
people try it out, available here:

http://198.78.65.69/cgi-bin/qmailadmin

I'm wondering if this could be some kind of permissions problem 
somewhere? Where does qmailadmin log (if anywhere)?

Any help would be very much appreciated,

Jason Carreira