Section: User Commands (1)
Return to Main Contents
ezmlm-reject - reject messages unsuitable for distribution
reads a mail message from its standard input.
It rejects the message if it sees something it doesn't like.
If the message has a ``Precedence: junk'' header,
exits 99 causing the message to be ignored. This causes replies from (some)
vacation programs to be ignored.
for a maximum:minimum message body size in bytes. Either number will be ignored
if 0 or omitted.
will also look for
Messages of the Content-Types specified or with MIME parts of these
types will be rejected.
will reject messages of Content-Types other than what is specified.
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
will exit 100 (permanent error) for rejections. If the list address is not in
the message ``To:'' or ``Cc:'' headers and the
switch is active, the exit code is 100 or 99, depending on the
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.
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
is presumed, meaning that only the header is copied.
Reject the message if the message body starts ``subscribe''
or ``unsubscribe''. If the
switch is specified, messages will also be rejected if the subject starts
with these words.
Do not reject messages starting ``subscribe'' or ``unsubscribe''.
Commands are not permitted in the Subject line.
A Subject line consisting solely of HELP, REMOVE, SUBSCRIBE, or UNSUBSCRIBE
Commands are permitted in the subject line.
Forward all messages having a command as the subject line to the list's
-request address for processing. This is only effective if
is also set.
Do not forward command messages.
Reject message if any of the headers in
occur in the header. Mailing-List headers of other mailing list managers
can be put into this file, one per line, to prevent processing of messages
from other mailing lists.
must be specified.
A reasonable set of headers would be: ``Mailing-List'', ``X-ml-name'',
is not important.
Quiet. If the message due to the lack of the list address (see
is not accepted, this is logged but no error message is sent to the sender.
Quiet. If a message due to the lack of the list address (see
is not accepted,
the message is silently ignored.
Not quiet. If a message due to the lack of the list address (see
is not accepted,
the sender is notified by an error message.
A nonempty Subject line is required.
A Subject line is not required.
Reject messages that do not have the list address in the ``To:'' or ``Cc:''
needs access to
to check this. This check is silently omitted if
is not specified, to assure backwards compatibility with existing ezmlm lists.
Do not require the list address in the ``To:'' or ``Cc:'' header(s).
does not handle rfc822 comments in ``Content-Type:'' lines if present
before the type or boundary.
This could be used to defeat the
MIME rejection function.
OTOH, this function is intended to reduce garbage, not guarantee
Since the MIME parser doesn't decode inner MIME layers of a
will be applied to the outer MIME layer only.
- SEE ALSO
This document was created by
using the manual pages.
Time: 18:00:51 GMT, June 16, 2008