![]() | :: | Software | :: | qtools |
iftoccfrom [ addr ... ]where addr is an email address.
iftoccfrom reads an 822-format message from standard input and exits 0 if $RECIPIENT is listed in a To, Cc, or From field, and exits 100 otherwise. If one or more addr is present, then iftoccfrom ignores $RECIPIENT, and uses each addr instead.
If it encounters a temporary error while reading input, iftoccfrom exits 111.
For example, the .qmail line
| condtomaildir dir iftoccfrom afriendwrites correspondence with afriend to dir.