1DELIVERQUOTA(8)             Double Precision, Inc.             DELIVERQUOTA(8)
2
3
4

NAME

6       deliverquota - deliver to a maildir with a quota
7

SYNOPSIS

9       deliverquota [-c] [-w percent] {maildir} {quota}
10

DESCRIPTION

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 verbatim from /etc/quotawarnmsg with the addition of the
39       "Date:" and "Message-Id:" headers. The warning is repeated every 24
40       hours (at least), until the maildir drops below N percent full.
41

RETURN CODE

43       deliverquota delivers the message to the maildir and terminates with
44       exit code 0 if the message can be delivered without going over quota.
45
46       If the maildir is over its specified quota, deliverquota terminates
47       with exit code 77 (EX_NOPERM).
48

SEE ALSO

50       maildirquota(7)[1], maildirmake(1)[2],
51       http://www.qmail.org/man/man5/maildir.html.
52

REFERENCES

54        1. maildirquota(7)
55           maildirquota.html
56
57        2. maildirmake(1)
58           maildirmake.html
59
60
61
62Double Precision, Inc.            04/22/2007                   DELIVERQUOTA(8)
Impressum