-
-
Notifications
You must be signed in to change notification settings - Fork 3
maildirdeliver.1
maildirdeliver - deliver a mail message to a maildir
maildirdeliver dir
maildirdeliver reads a mail message from the standard input, and stores it in a maildir, dir.
maildirdeliver exits 0 on a successful delivery. On a temporary failure, it exits 111. On a permanent failure, it exits 100.
Unlike a maildir line in .qmail files, maildirdeliver does not prepend a Return-Path line nor a Delivered-To line to the incoming message. Instead, maildirdeliver will use RPLINE, DTLINE if set, to prepend a Return-Path, Delivered-To lines to the incoming message. If RPLINE or DTLINE are not defined and if you use maildirdeliver in a program line in a script, you may want to invoke it under preline. For example:
|preline -f maildirdeliver Maildir
maildirdeliver is heavily based on qmail-local.c from D. J. Bernstein's qmail package.