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
From:header, then set the value to the email address visible in the
The environmental variable KIWI_STATUS tells the child process whether the message is going out from the sender to the internet, coming in from the internet, or if the message is being bounced.
The environmental variable KIWI_DATATYPE tells the child process the kind of data the decoded cookie has. This can have the following values:
28BIT IP BLOCK
The environmental variable KIWI_DATA tells the child process the kind of data the decoded cookie has. Depending on the value of KIWI_DATATYPE, this will have the following values:
If the data is one of these three types, then the data will be a single number: A timestampe of when the cookie was sent out, in a form of the number of seconds since the epoch (Jan 1, 1970, midnight GMT). For example: "972688017" or "176001069".
If the data is of this datatype, then the data will be, in standard dotted notation, the lowest numbered ip of the /28 network in question. In other words, if the original ip was 184.108.40.206, this will have the value of "220.127.116.11".
If the data is of this datatype, then the data will be the five-letter message in question. Example: "rdhat".
If the data is of this datatype, then the data will be the password in question.
If the data is of this datatype, then the data will contain "N/A".
If the data is one of these data types, then the data will be undefined