The .kiwirc file is used by the Kiwi spam-protection program to
read configuration information. The location of the .kiwirc file
is determined thusly:
KIWIRC is defined, the value
of KIWIRC is the location of the kiwirc file.
HOME is defined,
look for a file named .kiwirc in the directory
HOME points to.
geteuid), find out the home directory
of that uid, and look for a .kiwirc file there.
The Kiwirc file has the following syntax:
# character do not parse any information
at or after the # character. In other words, comments in
a .kiwirc file are started with the # character.
Exception: When the # character is quoted (Example:
"#"), the hash is treated does not begin a comment.
= sign,
followed by zero or more white space characters, followed by the value
for the variable (either quoted with the " character or
containing only alphanumeric characters).
- or _
kiwi_qmail
kiwi_sendmail_path
kiwi_days_short
kiwi_days_mid
kiwi_days_long
kiwi_forward
kiwi_append
kiwi_my_mailbox
kiwi_my_address
kiwi_maillog
kiwi_key
kiwi_password
kiwi_mid_process
kiwi_bouncemail
kiwi_utf8_output
kiwi_inbound_process
The meaning of the variable names are as follows:
- instead
of a +, and the environmental variable DTLINE is
used to determine what email address an incoming message was delivered to.
/usr/sbin/sendmail. On most other Unices, this
will generally have the value /usr/lib/sendmail.
kiwi_my_address. This should not be set to TRUE if
kiwi_append is set to TRUE.
kiwi_my_mailbox. This should not be set to TRUE if
kiwi_forward is set to TRUE.
kiwi_append is set to TRUE.
kiwi_forward is set
to TRUE. If kiwi_mid_process or
kiwi_inbound_process is set, this is the single argument given
to the respective process.
kiwi_password, the message is accepted without checking
the value of the cookie.
kiwi_mid_process with a single argument of the value
for kiwi_my_address. This overrides the value of
kiwi_forward, kiwi_append, and
kiwi_inbound_process in the case of messages with a MID TIMEOUT
cookie.
kiwi_bouncemail is set, then the person sending the message
will receive a copy of the file pointed to by kiwi_bouncemail,
followed by the message they sent.
kiwi_inbound_process with a single argument of the value
for kiwi_my_address. This overrides the value of
kiwi_forward and kiwi_append.
Note: This only works on Qmail systems. On sendmail systems, give
sendmail an argument of -f, followed by the desired return-path,
to change the return-path.