1DELIVERQUOTA(8) Double Precision, Inc. DELIVERQUOTA(8)
2
3
4
6 deliverquota - deliver to a maildir with a quota
7
9 deliverquota [-c] [-w percent] [-W filename] {maildir} {quota}
10
12 deliverquota delivers mail to a maildir taking into account any
13 software-imposed quota on the maildir. This manually-enforced quota
14 mechanism is described in the maildirquota(7)[1] and maildirmake(1)[2]
15 manual pages. Instead of setting up your mail server to deliver the
16 message directly to a maildir, configure the mail server to run the
17 deliverquota program in order to deliver the message, and specify the
18 location of the maildir as the argument to deliverquota.
19
20 The second argument to deliverquota is optional. If present, quota
21 specifies a new quota setting for this maildir. Specifying quota is
22 equivalent to running maildirmake(1)[2] with the -q option. The second
23 argument to deliverquota is considered obsolete, and may be removed in
24 the future.
25
26 deliverquota reads the message from standard input and delivers it to
27 maildir. maildir may specify a path directly to a maildir folder, not
28 the main maildir (as long as the folder was created by the
29 maildirmake(1)[2] command.
30
31 The -c option automatically creates the maildir, and all missing parent
32 subdirectories (as 'mkdir -p'). This option should be used with
33 caution.
34
35 The -w N option places a warning message into the maildir if the
36 maildir has a quota setting, and after the message was successfully
37 delivered the maildir was at least N percent full. The warning message
38 is copied from the file specified by the -W option, or from
39 /etc/quotawarnmsg if -W was not specified. The "Date:" and
40 "Message-Id:" headers are added to the message. The warning is repeated
41 every 24 hours (at least), until the maildir drops below N percent
42 full.
43
45 deliverquota delivers the message to the maildir and terminates with
46 exit code 0 if the message can be delivered without going over quota.
47
48 If the maildir is over its specified quota: the maildrop version of
49 deliverquota terminates with an exit code 77 (EX_NOPERM); the Courier
50 version of deliverquota terminates with an exit code 75 (EX_TEMPFAIL).
51
53 maildirquota(7)[1], maildirmake(1)[2].
54
56 Sam Varshavchik
57 Author
58
60 1. maildirquota(7)
61 http://www.courier-mta.org/maildirquota.html
62
63 2. maildirmake(1)
64 http://www.courier-mta.org/maildirmake.html
65
66
67
68Courier Mail Server 11/12/2022 DELIVERQUOTA(8)