<!-- Copyright 2021 Double Precision, Inc. See COPYING for -->
<!-- distribution information. -->
Title: maildirwatch
Author: Sam Varshavchik
Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
Date: 02/18/2021
Manual: Double Precision, Inc.
Source: Courier Mail Server
Language: English
* Define some portability stuff
-----------------------------------------------------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
http://bugs.debian.org/507673
http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----------------------------------------------------------------
* set default formatting
-----------------------------------------------------------------
disable hyphenation
disable justification (adjust text to left margin only)
-----------------------------------------------------------------
* MAIN CONTENT STARTS HERE *
-----------------------------------------------------------------
\w'maildirwatch 'u maildirwatch {maildir} {command} [argument...]
maildirwatch repeatedly invokes the command, with any optional arguments, an external command, as follows:
\h'-04'\(bu\h'+03'\c .\}
\h'-04'\(bu\h'+03'\c .\}
maildirwatch is a rudimentary mechanism for writing shell scripts that deal with newly-delivered mail, in some form or fashion.
A non-zero exit code indicates that the specified maildir does not exist or is corrupted.
Otherwise maildirwatch runs until the command exits with a non-zero exit code. maildirwatch prints command\*(Aqs exit code on standard output, and terminates with an exit code of 0.
\m[blue]maildirmake(1)\m[]\s-2\u[1]\d\s+2.
Sam Varshavchik
Author
\%[set $man.base.url.for.relative.links]/maildirmake.html