3 ezmlm-reject \- reject messages unsuitable for distribution
13 reads a mail message from its standard input.
14 It rejects the message if it sees something it doesn't like.
16 If the message has a ``Precedence: junk'' header,
18 exits 99 causing the message to be ignored. This causes replies from (some)
19 vacation programs to be ignored.
27 for a maximum:minimum message body size in bytes. Either number will be ignored
33 .IR dir\fB/mimeremove .
37 Messages of the Content-Types specified or with MIME parts of these
38 types will be rejected.
43 will reject messages of the Content-Types specified. These content-types will
44 be accepted as parts of a composite MIME message. They will be
49 will exit 100 (permanent error) for rejections. If the list address is not in
50 the message ``To:'' or ``Cc:'' headers and the
52 switch is active, the exit code is 100 or 99, depending on the
55 If you would like to forward messages instead of rejecting them, you can
56 into the appropriate .qmail file put:
59 |condredirect newaddress except /path/ezmlm-reject DIR
62 Now rejected posts will
63 go to this address, and the recipient can take appropriate action.
67 Reject the message if the message body starts ``subscribe''
68 or ``unsubscribe''. If the
70 switch is specified, messages will also be rejected if the subject starts
74 Do not reject messages starting ``subscribe'' or ``unsubscribe''.
78 Commands are not permitted in the Subject line.
79 A Subject line consisting solely of HELP, REMOVE, SUBSCRIBE, or UNSUBSCRIBE
83 Commands are permitted in the subject line.
86 Reject message if any of the headers in
87 .I dir\fB/headerreject
88 occur in the header. Mailing-List headers of other mailing list managers
89 can be put into this file, one per line, to prevent processing of messages
90 from other mailing lists.
94 A reasonable set of headers would be: ``Mailing-List'', ``X-ml-name'',
95 \``ml-name'',``X-loop'',``X-listprocessor-version'',``X-mailing-list''. Case
101 .IR dir\fB/headerreject .
103 Quiet. If the message due to the lack of the list address (see
105 is not accepted, this is logged but no error message is sent to the sender.
108 Quiet. If a message due to the lack of the list address (see
111 the message is silently ignored.
115 Not quiet. If a message due to the lack of the list address (see
118 the sender is notified by an error message.
122 A nonempty Subject line is required.
125 A Subject line is not required.
129 Reject messages that do not have the list address in the ``To:'' or ``Cc:''
136 to check this. This check is silently omitted if
138 is not specified, to assure backwards compatibility with existing ezmlm lists.
141 Do not require the list address in the ``To:'' or ``Cc:'' header(s).
144 does not handle rfc822 comments in ``Content-Type:'' lines if present
145 before the type or boundary.
146 This could be used to defeat the
147 MIME rejection function.
148 OTOH, this function is intended to reduce garbage, not guarantee