-
-
Notifications
You must be signed in to change notification settings - Fork 3
iftoccfrom.1
Manvendra Bhangui edited this page May 7, 2023
·
5 revisions
iftoccfrom - check if recipient is listed in To, CC or From field in a message
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 afriend
writes correspondence with afriend to dir.