3 ezmlm-issubn \- test to see if an address is subscribed to a mailing list
13 checks to see if the address obtained from the environment variable
15 is subscribed to the mailing list stored in
17 or the mailing list in
29 is on [any of] the mailing list[s],
31 exits with a zero exit code.
35 is not on the mailing list,
37 exits 99. This exit code is non-success from a shell point of view, but to
38 qmail it means "success and skip remaining lines in the .qmail file). Thus,
39 a simple way to execute a delivery if the
41 criteria are met is to place the
43 line first, followed by the action line. If SENDER is a subscriber, the
44 action line is executed, if not, the line is ignored without the generation
45 of an error condition. To generate a fatal error, just:
50 || (echo "err msg"; exit 100)
52 |/path/action_for_subscribers
53 |/path/more_for_subscribers
57 exits 100 on permanent and 111 on temporary errors.
61 Negate exit code. Exit 99 if SENDER is a subscriber and exit 0 if not.
62 This is useful when trying to exclude SENDERs.
66 Normal exit codes: 0 is the address is in any of the lists, 99 if not.