When used as a wrapper for outgoing mail, the environmental variable KIWI_STATUS is given the value of "OUTGOING" (without the quotes).
When used as a filter for incoming data, the following environmental variables are set:
The environmental variable KIWI_FROM is given the email address that the incoming message is from. This is derermined from the mail headers as follows:
Reply-To:
header, set the value
to the email address visible in the Reply-To:
header.
From: header, then set
the value to the email address visible in the From:
header.