-
Notifications
You must be signed in to change notification settings - Fork 3
/
plugin-counters.html
56 lines (35 loc) · 1.46 KB
/
plugin-counters.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<html>
<body>
<h2><a href="mailfront.html">mailfront</a></h2>
<h1>Plugin: counters</h1>
<hr />
<p>This plugin maintains and enforces several counters.</p>
<h2>Configuration</h2>
<dl>
<dt><tt>$MAXMSGS</tt></dt> <dd>The maximum message count</dd>
<dt><tt>$MAXRCPTS</tt></dt> <dd>The maximum recipient limit</dd>
<dt><tt>$MAXRCPTS_REJECT</tt></dt> <dd>If set (to anything), messages
that have more than <tt>$MAXRCPTS</tt> recipients will have the message
rejected rather than just the excess recipients.</dd>
<dt><tt>$MAXHOPS</tt></dt> <dd>The maximum hop limit (defaults to
100)</dd>
<dt><tt>$DATABYTES</tt></dt> <dd>The maximum message size limit</dd>
</dl>
<h2>Sender Action</h2>
<p>If the maximum message count has been reached, the sender is
rejected. Otherwise no action.</p>
<h2>Recipient Action</h2>
<p>If the maximum recipient limit has been exceeded for the current
message, this recipient is rejected. Otherwise no action.</p>
<h2>Data Action</h2>
<p>If the maximum recipient limit has been exceeded
and <tt>$MAXRCPTS_REJECT</tt> is set, the message is rejected. If the
message is larger than the maximum message size, it is rejected. If
more than the maximum hop limit of either "<tt>Received:</tt>" or
"<tt>Delivered-To:</tt>" headers are present in the message, it is
rejected. Otherwise no action.</p>
<h2>Message Action</h2>
<p>If the maximum recipient limit has been exceeded
and <tt>$MAXRCPTS_REJECT</tt> is set, the message is rejected.</p>
</body>
</html>