vsetuserquota - set a users hard quota limit

vsetuserquota set a users hard quota limit. --enable-hardquota=y must be set during vpopmail configuration for this to have any effect. Default configuration sets hard quota on. Default hard quota limit is 5oM.

Syntex:
vsetuserquota [email address] [quota in bytes]

Optional:

[email address]
The email address of the user.

[quota in bytes]
The hard quota limit in bytes. Abbrivations can be used for kilobytes and mega bytes. 5m will set the quota to 5 mega bytes. Or 2k will set the quota to 2k. NOQUOTA will turn off all quota checking for that user.


Example:
vsetuserquota john@mycompany.com 51200

For example to set 5 MB limit

vsetuserquota john@mycompany.com 5m

For 2k limit

vsetuserquota john@mycompany.com 2k

For NOQUOTA

vsetuserquota john@mycompany.com NOQUOTA

No comments: