type
echo "quota 50" >> /path_to_vpopmail/domains/domain_name_to_set_quota_for/.qmailadmin-limits
(all in one line)
this will set a domain quota of 50Mb (not user quota) for that domain, which you will then see at the top of the qmailadmin page, once logged in for that domain.
-- regards nik [tm]
[EMAIL PROTECTED] www.visualspace.com.au
���`�.��..><((((�>.���`�.��.���`�.� ><((((�>`�.��.���`�.�><((((�>``�.�
Steven Job wrote:
The site http://support.rapidsystem.net/dedicated/qmail.htm mentioned the use of vsetuserquota that I used. Need I say it didn't work. But it did look like it worked for them.
I can set the default_quota 5000. But that really doesn't do too much. The postmaster for the domain can still go in and create an account with a 4 Gb pop mailbox if they want. It seems like that like is just ignored.
Unless I have the configuration settings all wrong.... which may be the case. But I think that line is being used as the default quota (if the postmaster leaves the quota blank). At leat that is what it is doing for me.
-Steve
On Thu, 21 Aug 2003, Kenneth Ling wrote:
vsetuserquota is to set the user on test.com to 5000byte is not on domain level... quota on domain level, u have to add this line "default_quota 5000" into .qmailadmin-limits
-----Original Message----- From: Steven Job [mailto:[EMAIL PROTECTED] Sent: Thursday, August 21, 2003 12:21 PM To: nik [tm] Cc: [EMAIL PROTECTED] Subject: Re: [vqadmin] Set hard quota per domain.
Thanks for the response. I have tried setting this up with the following command and it isn't working for me.
# ./vsetuserquota test.com 5000 vmysql: sql error[5]:
The domain does exist in the system:
# ./vdominfo test.com domain: test.com uid: 108 gid: 104 dir: /home/vpopmail/domains/test.com users: 1
Just keep getting some strange errors. It might have to do with the mysql piece of it. I might just set it up with cdb again.
Do you (or anyone else) no if this quota can be set through a web interface? I bet it would be easy to right one and change the file. Once this file changes does anything have to be run to load the changes are is it immediate.
Thanks, -Steve
On Thu, 21 Aug 2003, nik [tm] wrote:
isnt this all to do with the .qmailadmin-limits file? I placed one in the /vpopmail/domains/domainname.com folder and then you can use it in qmailadmin I havent yet put on vqadmin so not sure it works differently or not (cant see why it should require another way) the contents of my file are;
maxpopaccounts 6 maxaliases 6 maxforwards 5 maxmailinglists 0 maxautoresponders 11 quota 100
I know when I saw a working version of vqadmin that you can set the domain quota in there too..
