Re: Set hard quota per domain.
"nik [tm]" <[email protected]>
| Newsgroups | gmane.mail.vqadmin |
|---|---|
| Message-ID | <[email protected]> |
Steven Job wrote: > There _must_ be a setting that I am missing when you did 'configure' to > allow this. > > I did echo "quota 50" and again with "quota: 50" (removed the first 'quota > 50) before I did the second. > > It is in the file as so: > maxpopaccounts: 5 > maxaliases: 5 > maxforwards: 5 > maxautoresponders: 5 > maxmailinglists: 5 > default_quota: 5000 > quota: 50 > > or > > maxpopaccounts: 5 > maxaliases: 5 > maxforwards: 5 > maxautoresponders: 5 > maxmailinglists: 5 > default_quota: 5000 > quota 50 > > > > But qmailadmin is just ignoring the whole darn thing. I can create users > with gigs of email space... And the whole domain should only be allowed > 50 bytes or Mb at most. > > At least I know it's possible now if someone else has it working.... I > think :-) > > -Steve Steve, what version of qmailadmin you using? I have 1.0.24 and it was configured with; ./configure --enable-cgibindir=/path_to/apache/cgi-bin --enable-ezmlmdir=/path_to/ezmlm --enable-htmldir=/path_to/qmailadmin/html --enable-imagedir=/path_to/apache/htdocs/images/qmailadmin --enable-domain-autofill=Y its works, and displays in qmailadmin for me (the email accounts page for size quota's, forwards page for forwards etc etc) the quota read from the .qmailadmin-limits file. I dont have any : in my file though, its exactly; maxpopaccounts 6 maxaliases 6 maxforwards 5 maxmailinglists 0 maxautoresponders 11 quota 100 so maybe drop the default_quota line you have in yours and check perms for the file?? it has the perms.ownership as so; -rw------- 1 vpopmail vchkpw 93 Jul 24 14:49 .qmailadmin-limits so the chown vpopmail.vchkpw /path_to/.qmailadmin-limits and a chmod 600 /path_to/.qmailadmin-limits (or whatever you have setup as the equivalent users on your machine) I manually created the file and copied it through all my domains, and they all work.. other than that, it is vpopmail-5.3.20 I am using.. hth, I am out of ideas.. -- regards nik [tm] [email protected] www.visualspace.com.au -- regards nik [tm] [email protected] www.visualspace.com.au ·´¯`·.¸¸..><((((º>.·´¯`·.¸¸.·´¯`·.¸ ><((((º>`·.¸¸.·´¯`·.¸><((((º>``·.¸