Skip to content

Instantly share code, notes, and snippets.

@berserker1
Last active August 2, 2019 16:29
Show Gist options
  • Save berserker1/b598abc9df2794486de78c8ec6c7f864 to your computer and use it in GitHub Desktop.
Save berserker1/b598abc9df2794486de78c8ec6c7f864 to your computer and use it in GitHub Desktop.
Usage: mailman members [OPTIONS] LISTSPEC
Display a mailing list's members, with filtering along various criteria.
Options:
-a, --add FILENAME Add all member addresses in FILENAME.
FILENAME can be '-' to indicate standard
input. Blank lines and lines That start
with a '#' are ignored. Without this
option, this command displays mailing list
members.
-o, --output FILENAME Display output to FILENAME instead of
stdout. FILENAME can be '-' to indicate
standard output.
-R, --role [any|owner|moderator|nonmember|member|administrator]
Display only members with a given ROLE. The
role may be 'any', 'member', 'nonmember',
'owner', 'moderator', or 'administrator'
(i.e. owners and moderators). If not given,
then delivery members are used.
-r, --regular Display only regular delivery members.
-d, --digest kind Display only digest members of kind. 'any'
means any digest type, 'plaintext' means
only plain text (rfc 1153) type digests,
'mime' means mime type digests.
-n, --nomail WHY Display only members with a given delivery
status. 'enabled' means all members whose
delivery is enabled, 'any' means members
whose delivery is disabled for any reason,
'byuser' means that the member disabled
their own delivery, 'bybounces' means that
delivery was disabled by the automated
bounce processor, 'byadmin' means delivery
was disabled by the list administrator or
moderator, and 'unknown' means that delivery
was disabled for unknown (legacy) reasons.
-h, --help Show this message and exit.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment