ezmlm-reject reads a mail message from its standard input.
It rejects the message if it sees something it doesnt like.
If the message has either a Precedence: junk or a Precedence:
ezmlm-reject exits 99 causing the message to be ignored. This causes replies from (some)
vacation programs to be ignored.
dir is specified,
dir/msgsize for a maximum:minimum message body size in bytes. Either number will be ignored
if 0 or omitted.
ezmlm-reject will also look for
dir/mimereject and either
Messages of the Content-Types specified or with MIME parts of these
types will be rejected.
ezmlm-reject will reject messages of Content-Types other than what is specified.
ezmlm-reject will reject messages of the Content-Types specified. These content-types will
be accepted as parts of a composite MIME message. They will be
stripped out later by
ezmlm-reject will exit 100 (permanent error) for rejections. If the list address is not in
the message To: or Cc: headers and the
-t switch is active, the exit code is 100 or 99, depending on the
-q switch (see below).
If you would like to forward messages instead of rejecting them, you can
into the appropriate .qmail file put:
|condredirect newaddress except /path/ezmlm-reject DIR
Now rejected posts will
go to this address, and the recipient can take appropriate action.
dir/copylines to determine how many lines of the original message to copy into the
outgoing message. If this file is empty or not present, a value of
0 is presumed, meaning that only the header is copied.
ezmlm-reject will use
qmail-qmqp(1) to send messages.