iftoccfrom(1)

NAME

iftoccfrom - look for addresses in standard message headers

SYNOPSIS

    iftoccfrom [ _addr_ ... ]

DESCRIPTION

The iftoccfrom program reads an 822-format message from standard input and matches address in the To, Cc, or From headers against _addr_. If it finds a match, iftoccfrom exits 0. Otherwise it exits 100. If no _addr_ argument is present, then iftoccfrom uses the address in the environment variable $RECIPIENT as _addr_.

EXIT STATUS

If it encounters a temporary error while reading input, iftoccfrom exits 111.

EXAMPLES

The .qmail line

    | condtomaildir _dir_ iftoccfrom _afriend_

writes correspondence with _afriend_ to _dir_.

AUTHOR

William Baxter <sst@superscript.com>

Version 0.56
Last updated 2015-08-23 23:24:43 CDT