deliverquota (8)
Leading comments
<!-- Copyright 1998 - 2009 Double Precision, Inc. See COPYING for --> <!-- distribution information. --> Title: deliverquota Author: Sam Varshavchik Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> Date: 06/27/2015 Manual: Double Precision, Inc. Source: Courier Mail Server Language: English
NAME
deliverquota - deliver to a maildir with a quotaSYNOPSIS
- deliverquota [-c] [-w percent] [-W filename] {maildir} {quota}
DESCRIPTION
deliverquota
The second argument to deliverquota is optional. If present, quota specifies a new quota setting for this maildir. Specifying quota is equivalent to running m[blue]maildirmake(1)m[]
deliverquota reads the message from standard input and delivers it to maildir. maildir may specify a path directly to a maildir folder, not the main maildir (as long as the folder was created by the m[blue]maildirmake(1)m[]
The -c option automatically creates the maildir, and all missing parent subdirectories (as 'mkdir -p'). This option should be used with caution.
The -w N option places a warning message into the maildir if the maildir has a quota setting, and after the message was successfully delivered the maildir was at least N percent full. The warning message is copied from the file specified by the -W option, or from /etc/courier/quotawarnmsg if -W was not specified. The "Date:" and "Message-Id:" headers are added to the message. The warning is repeated every 24 hours (at least), until the maildir drops below N percent full.
RETURN CODE
deliverquota delivers the message to the maildir and terminates with exit code 0 if the message can be delivered without going over quota.
If the maildir is over its specified quota, deliverquota terminates with exit code 77 (EX_NOPERM).
SEE ALSO
m[blue]maildirquota(7)m[]
AUTHOR
Sam Varshavchik
- Author
NOTES
- 1.
-
maildirquota(7)
- [set $man.base.url.for.relative.links]/maildirquota.html
- 2.
-
maildirmake(1)
- [set $man.base.url.for.relative.links]/maildirmake.html