-
-
Notifications
You must be signed in to change notification settings - Fork 2
vsetuserquota.1
vsetuserquota - Set quota for a user in a virtual domain
vsetuserquota [ options ] email_address quota_in_bytes
vsetuserquota changes a users hard quota limit. vsetuserquota has setuid bit set and must be run as root or indimail user.
-v
Set verbose mode.
email_address
The email address of the user.
quota_in_bytes
The hard quota limit in bytes. Abbrievations can be used for kilobytes,
megabytes and gigabytes. For example vsetuserquota user@domain 5m
will set the quota to 5 mega bytes. Or vsetuserquota user@domain 2k
will set the quota to 2k. vsetuserquota user@domain NOQUOTA will
turn off all quota checking for that user.
If the domain has domain limits set using vlimit(1), then domain limits apply. Setting of quota will not be allowed if permission for modifying quota is disabled in domain limits.
0 if all steps were successful, non-zero otherwise. If any of the steps fail, a diagnostic message is printed.