Skip to content

vlimit.1

Manvendra Bhangui edited this page May 31, 2024 · 5 revisions

NAME

vlimit - Set / Modify Domain wide Limits

SYNOPSYS

vlimit [ options ] domain

vlimit [ options ] user@domain

OPTIONS

-v
display the indimail version number

-s
show current settings

-D
delete limits for this domain, i.e. switch to default limits)

-e edate | -n days
Set the domain expiry date to edate in ddmmyyyyHHMMSS format or days from today. Use -1 for edate to disable domain expiry. days can be negative to expire the domain in the past.

-t edate | -N days
Set the password expiry date to edate in ddmmyyyyHHMMSS format or days from today. Use -1 for edate to disable password expiry. days can be negative to expire the password in the past.

-Q quota
set domain quota limit. You can use the suffix k/K, m/M, g/G to specify the quota in Kb, Mb, or Gb.

-M count
set domain max msg count limit

-q quota
set default user quota limit. You can use the suffix k/K, m/M, g/G to specify the quota in Kb, Mb, or Gb. Specify NOQUOTA if you want to have unlimited quota.

-m count
set default user max msg count limit

-P count
set max amount of pop accounts limit

-A count
set max amount of aliases limit

-F count
set max amount of forwards limit

-R count
set max amount of autoresponders

-L count
set max amount of mailing lists

The following options are bit flags in the gid int field

-g gid_flags
set flags. See below

gid_flags: u - set no dialup flag d - set no password changing flag s - set no smtp access flag i - set no imap access flag p - set no pop access flag w - set no web mail access flag r - set no external relay flag x - clear all flags

-T
Toggle bit flag for -g option

the following options are bit flags for non postmaster admins

-p perm_flags
set pop account flags

-a perm_flags
set alias flags

-f perm_flags
set forward flags

-r perm_flags
set autoresponder flags

-l perm_flags
set mailing list flags

-u perm_flags
set mailing list users flags

-o perm_flags
set mailing list moderators flags

-x perm_flags
set domain quota flags

-z perm_flags
set default quota flags

perm_flags:
0 - clear all flags a - set deny all flag c - set deny create flag m - set deny modify flag d - set deny delete flag

RETURN VALUE

0 if all steps were successful. 1 if any error occurred

NOTES

domain limits is work in progress and not fully implemented. For vlimit(1) to work, domain limits need to be enabled for a domain using vmoddomain(1).

SEE ALSO

vmoddomain(1), vmoduser(1),

Clone this wiki locally