info > DELIVERQUOTA

📛 NAME

deliverquota - deliver to a maildir with a quota

🚀 Quick Reference

Use CaseCommandDescription
Deliver mail to a maildir with quotadeliverquota /path/to/maildir quotaDelivers message from stdin to maildir, enforcing quota
Automatically create maildir if missingdeliverquota -c /path/to/maildir quotaCreates maildir and parent directories
Set a warning when percentage fulldeliverquota -w 90 /path/to/maildir quotaPlaces warning message if maildir is ≥90% full after delivery
Specify custom warning message filedeliverquota -w 90 -W /path/to/warnmsg /path/to/maildir quotaUses custom warning message file

📋 SYNOPSIS

deliverquota [-c] [-w percent] [-W filename] {maildir} {quota}

📝 DESCRIPTION

deliverquota delivers mail to a maildir taking into account any software-imposed quota on the maildir. This manually-enforced quota mechanism is described in the maildirquota(7) and maildirmake(1) manual pages. Instead of setting up your mail server to deliver the message directly to a maildir, configure the mail server to run the deliverquota program in order to deliver the message, and specify the location of the maildir as the argument to 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 maildirmake(1) with the -q option. The second argument to deliverquota is considered obsolete, and may be removed in the future.

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 maildirmake(1) command.

🚀 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/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.

🚪 Exit Codes

📚 SEE ALSO

👤 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
DELIVERQUOTA
📛 NAME 🚀 Quick Reference 📋 SYNOPSIS 📝 DESCRIPTION 🚪 Exit Codes 📚 SEE ALSO 👤 AUTHOR 📝 NOTES

Generated by phpman v4.9.26-5-g7740029 Author: Che Dong Under GNU General Public License
2026-08-14 21:54 @2600:1f28:365:80b0:4d23:66fa:c2bb:7bae
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)
Valid XHTML 1.0 Transitional!Valid CSS!