|
0
|
1 |
<HTML>
|
|
|
2 |
<HEAD>
|
|
|
3 |
<TITLE>vcheckquota - vmailmgr quota enforcement program</TITLE>
|
|
|
4 |
<LINK REV="made" HREF="mailto:root@porky.devel.redhat.com">
|
|
|
5 |
</HEAD>
|
|
|
6 |
|
|
|
7 |
<BODY>
|
|
|
8 |
|
|
|
9 |
<!-- INDEX BEGIN -->
|
|
|
10 |
<!--
|
|
|
11 |
|
|
|
12 |
<UL>
|
|
|
13 |
|
|
|
14 |
<LI><A HREF="#NAME">NAME</A>
|
|
|
15 |
<LI><A HREF="#SYNOPSIS">SYNOPSIS</A>
|
|
|
16 |
<LI><A HREF="#DESCRIPTION">DESCRIPTION</A>
|
|
|
17 |
<LI><A HREF="#OPTIONS">OPTIONS</A>
|
|
|
18 |
<LI><A HREF="#SEE_ALSO">SEE ALSO</A>
|
|
|
19 |
<LI><A HREF="#AUTHORS">AUTHORS</A>
|
|
|
20 |
</UL>
|
|
|
21 |
-->
|
|
|
22 |
<!-- INDEX END -->
|
|
|
23 |
|
|
|
24 |
<P>
|
|
|
25 |
<H1><A NAME="NAME">NAME</A></H1>
|
|
|
26 |
<P>
|
|
|
27 |
vcheckquota - vmailmgr quota enforcement program
|
|
|
28 |
|
|
|
29 |
<P>
|
|
|
30 |
<HR>
|
|
|
31 |
<H1><A NAME="SYNOPSIS">SYNOPSIS</A></H1>
|
|
|
32 |
<P>
|
|
|
33 |
<STRONG>vcheckquota</STRONG>
|
|
|
34 |
[<STRONG>-a UINT</STRONG>] [<STRONG>--soft-maxsize=UINT</STRONG>] [<STRONG>-m STR</STRONG>] [<STRONG>--soft-message=STR</STRONG>]
|
|
|
35 |
|
|
|
36 |
<P>
|
|
|
37 |
<HR>
|
|
|
38 |
<H1><A NAME="DESCRIPTION">DESCRIPTION</A></H1>
|
|
|
39 |
<P>
|
|
|
40 |
<EM>vcheckquota</EM> ensures that the hard and soft quotas are enforced, that message counts and
|
|
|
41 |
sizes are appropriately limited. The limits are set by the vadduser or
|
|
|
42 |
vchattr command.
|
|
|
43 |
|
|
|
44 |
<P>
|
|
|
45 |
The following rules are applied:
|
|
|
46 |
|
|
|
47 |
<OL>
|
|
|
48 |
<LI>
|
|
|
49 |
<P>
|
|
|
50 |
If the message is larger than the message size limit, it is rejected.
|
|
|
51 |
|
|
|
52 |
<LI>
|
|
|
53 |
<P>
|
|
|
54 |
If the user has too many messages in their mailbox, further messages are
|
|
|
55 |
rejected.
|
|
|
56 |
|
|
|
57 |
<LI>
|
|
|
58 |
<P>
|
|
|
59 |
If the user is over their hard quota, all further messages are rejected and
|
|
|
60 |
no warning messages are linked in.
|
|
|
61 |
|
|
|
62 |
<LI>
|
|
|
63 |
<P>
|
|
|
64 |
If the user is over their soft quota, and the message is small (as defined
|
|
|
65 |
by <EM>soft-maxsize</EM>), the message is accepted, otherwise it is rejected. If <EM>soft-message</EM> is defined, a warning message is linked into the mailbox in either case.
|
|
|
66 |
|
|
|
67 |
</OL>
|
|
|
68 |
<P>
|
|
|
69 |
Warning: the soft-message is linked into the users maildir once for each
|
|
|
70 |
message that is received while the account is over its soft quota. This may
|
|
|
71 |
result in multiple warning messages.
|
|
|
72 |
|
|
|
73 |
<P>
|
|
|
74 |
<HR>
|
|
|
75 |
<H1><A NAME="OPTIONS">OPTIONS</A></H1>
|
|
|
76 |
<DL>
|
|
|
77 |
<DT><STRONG><A NAME="item__a">-a UINT, --soft-maxsize=UINT</A></STRONG><DD>
|
|
|
78 |
<P>
|
|
|
79 |
The maximum message size after soft quota is reached. Defaults to 4096.
|
|
|
80 |
|
|
|
81 |
<DT><STRONG><A NAME="item__m">-m STR, --soft-message=STR</A></STRONG><DD>
|
|
|
82 |
<P>
|
|
|
83 |
The path to the soft quota warning message. Defaults to no message.
|
|
|
84 |
|
|
|
85 |
</DL>
|
|
|
86 |
<P>
|
|
|
87 |
<HR>
|
|
|
88 |
<H1><A NAME="SEE_ALSO">SEE ALSO</A></H1>
|
|
|
89 |
<P>
|
|
|
90 |
<CODE>vadduser(1),</CODE> <CODE>vchattr(1)</CODE>
|
|
|
91 |
|
|
|
92 |
<P>
|
|
|
93 |
<HR>
|
|
|
94 |
<H1><A NAME="AUTHORS">AUTHORS</A></H1>
|
|
|
95 |
<P>
|
|
|
96 |
Bruce Guenter <<A HREF="mailto:bruceg@em.ca">bruceg@em.ca</A>>
|
|
|
97 |
|
|
|
98 |
</BODY>
|
|
|
99 |
|
|
|
100 |
</HTML>
|